|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: how to get string value of element node without ch
> Use > > select="normalize-space(text())" in your value-of to get what you want. > > Jeff Jeff, This will produce only the value of the (normalised) first text node child of the current node. To produce the text of all text-node children, one of the following can be used: <xsl:copy-of select="text()"/> or <xsl:apply-templates select="text()"/> (assuming that no template matching text() is specified and we leave this to the default rule). ===== Cheers, Dimitre Novatchev. http://fxsl.sourceforge.net/ -- the home of FXSL XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








