Re: [xsl] Testing for certain combinations

Subject: Re: [xsl] Testing for certain combinations
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 8 Nov 2001 13:31:44 GMT
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


Current Thread