|
Subject: RE: [xsl] how to get string value of element node without children concatenated From: "Lars Huttar" <lars_huttar@xxxxxxx> Date: Fri, 14 Mar 2003 15:26:24 -0600 |
> 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Re: how to get string value o, Dimitre Novatchev | Thread | [xsl] Re: how to get string value o, Dimitre Novatchev |
| [xsl] Re: how to get string value o, Dimitre Novatchev | Date | [xsl] Re: Hmmmm.... translate funct, Dimitre Novatchev |
| Month |