[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Identifying empty elements

Subject: Re: Identifying empty elements
From: Sridhar_Ramachandran@xxxxxx
Date: Wed, 8 Nov 2000 22:23:03 -0800
identifying the elements
normalize-space(.) != '' works.
thanks!
Sridhar





David Carlisle <davidc@xxxxxxxxx>@mulberrytech.com on 11/08/2000 03:48:28
PM

Please respond to xsl-list@xxxxxxxxxxxxxxxx

Sent by:  owner-xsl-list@xxxxxxxxxxxxxxxx


To:   xsl-list@xxxxxxxxxxxxxxxx
cc:
Subject:  Re: Identifying empty elements



   //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





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.