[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: RE: [xsl] Re: how to get string value of element node without children concatenated
From: "Lars Huttar" <lars_huttar@xxxxxxx>
Date: Fri, 14 Mar 2003 16:17:06 -0600

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



Current Thread