Subject: Re: Identifying empty elements From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 8 Nov 2000 23:48:28 GMT |
//SOME_TAG[. !=''] ignores just the first two cases, but selects the third one containing the white-space . either list SOME_TAG in the strip-space elements list, in which case white space nodes appearing as children of SOME_TAG won't appear in the input tree, so your current test will work, or use //SOME_TAG[normalize-space(.) != ''] David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre. For further information visit http://www.star.net.uk/stats.asp XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Identifying empty elements, Sridhar_Ramachandran | Thread | Re: Identifying empty elements, Sridhar_Ramachandran |
Re: Generating Javascript with HTML, RUSSO, EDITH | Date | Computing string-value of nodesets, Taras Tielkes |
Month |