|
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
node
> 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>
~Rob
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Accessing text between no, Michael Kay | Thread | Re: [xsl] Accessing text between no, Thomas B. Passin |
| Re: [xsl] message, Bob DuCharme | Date | Re: [xsl] message, Trevor Nash |
| Month |