Subject: Re: how to get string value of element node without children concatenated
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Fri, 14 Mar 2003 22:52:12 +0100
|
> 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.
No, this will produce the value of the *first* text node child only.
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|