This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Testing for certain combinations
I wrote
> text() != ''
which I didn't mean, as that's pointless as text nodes _never_ have
value an empty string. that should have been
text()[normalize-space(.) !='']
or just
text()[normalize-space(.)]
using the implied coercion of a string to boolean.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list