|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Displaying Text Nodes
siarom egrub wrote: > <xsl:template match="ProdName/para" mode="ProdName_BR"> > <xsl:value-of select="text()[not(preceding-sibling::br)] "/> > </xsl:template> The value-of instruction does not map over all of the matched nodes, as you seem to expect here; it instead takes the string-value of the first matched node. Use <xsl:apply-templates/> instead. The default template for a text node is to output its value. This will also allow you to actually format the superscripts should you need to. ~Chris
|
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
|






