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

regarding strip-space

Subject: regarding strip-space
From: subbu@xxxxxxxxxxxx
Date: Tue, 16 Jul 2002 13:33:40 +0100
strip space
hi
I read in the XSLT Reference that xsl:strip-space would actually remove the 
whitespace-only text nodes from the source.
My question is ..( sorry its a bit weird)
1.what is a whitespace-only node?? ( is it an empty element of kind 
<myel></myel>)??

2.If i have empty elements like what i have shown above(<myel></myel>)
and if i have to pick all the myel elements which have some text in it ( non 
empty ) then , i beleive the only way to do it is through a condition
<xsl:for-each select = //myel[not(string-length(.) = 0)]">
is it true??

or are there any better ways to do it?

Subbu


--------------------------------------------------------------
Sent with "Me-Mail", Boltblue's FREE mobile messaging service.
http://www.boltblue.com


 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.