|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Unable to get text() of node
../text() returns a node-set with multiple text nodes (if present), but the xsl:value-of instruction
will copy the string value of only the first (text) node from the nodeset. This first text node is
however the white-space before the childname element and not the character data after the childname
element nor the character data inside the childname. text() returns all significant character data
sequences directly under the context node, not those of child nodes.
You might want to try xsl:copy-of instead of xsl:value-of. That will copy all text nodes in the nodeset to the result tree, instead of only the first. Regards, Geert Liron wrote: Hi Mukul,
|
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








