Subject: Re: Testing for CDATA
From: Mike Brown <mike@xxxxxxxx>
Date: Tue, 8 Aug 2000 13:59:14 -0600 (MDT)
|
Jeni Tennison wrote:
>
> test="normalize-space(text()) != ''"
>
It's usually not necessary to compare an unknown string to an empty
string, because if the unknown string is empty, as a boolean it will be
false already. So test="normalize-space(text())" would work just as well.
- Mike
____________________________________________________________________
Mike J. Brown, software engineer at My XML/XSL resources:
webb.net in Denver, Colorado, USA http://www.skew.org/xml/
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)
|
|