xsl-list
[Top] [All Lists]

RE: Re: how to get string value of element node without children concatenated

2003-03-14 15:17:06
I wrote:
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.

Dimitre wrote: 
No, this will produce the value of the *first* text node child only.

Ah.  You're right.  Thanks.
(Fortunately, that will also give Craig what he wants.)

Lars


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list