[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
> I'm sure the answer is obvious, but I can't seem to find it. ... > <xsl:template match="finishes"> > <xsl:for-each select="finish"> > <th colspan="{count(descendant::hold)}"> > <xsl:value-of select="." /> > </th> > </xsl:for-each> > </xsl:template> I think what you want instead of <xsl:value-of select="." /> is <xsl:value-of select="text()" />. This will give you the string value of all text nodes that are immediate children of the context node. HTH! Lars 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
|