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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Testing for CDATA, Jeni Tennison | Thread | Re: Testing for CDATA, Jeni Tennison |
RE: What is XSLT? ( very long ), Kaganovich, Yevgeniy | Date | include with xalan ?, Herve AGNOUX |
Month |