Re: [xsl] Accessing text between nodes

Subject: Re: [xsl] Accessing text between nodes
From: "Rob Lugt" <roblugt@xxxxxxxxx>
Date: Wed, 27 Jun 2001 16:03:55 +0100
Thomas B. Passin wrote:-

> Use <xsl:value-of select='text()'/> instead.  This will select the text
> that belongs to a Node element.  The only text element of Node is "Hello",
> and that is what displays.

Sorry to correct you Tom, but in the example the Node element contains 3
child text nodes ("Hello" and 2 whitespace-only nodes).

> > <Node>Hello
> > <SubNode>Hello Here!</SubNode>
> > <SubNode>Hello Here!</SubNode>
> > </Node>


 XSL-List info and archive:

Current Thread