Subject: Re: Testing for CDATA
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Tue, 08 Aug 2000 19:56:32 +0100
|
Allen,
>But since there is a text node as a child, it's always true.
I'm not sure, as I didn't keep a record of your previous post, but you're
probably after a text node that doesn't consist of just whitespace. Try:
test="normalize-space(text()) != ''"
I hope that helps,
Jeni
Dr Jeni Tennison
Epistemics Ltd * Strelley Hall * Nottingham * NG8 6PE
tel: 0115 906 1301 * fax: 0115 906 1304 * email: jeni.tennison@xxxxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Oliver Becker - Tue, 8 Aug 2000 20:05:42 +0200 (MET DST)
|
|