RE: [xsl] parent node text() ??

Subject: RE: [xsl] parent node text() ??
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 2 Dec 2003 11:05:30 +0200
Hi,

> I am having a following trouble with text nodes.
> Is it possible to catch the first text node "rang1" from the 
> node "solution"
> or "valid_input"? I supported with <xsl:value-of
> select="solution/valid_input[../text()]" /> but this catches 
> the second text node "rang2".

  <xsl:value-of select="solution/valid_input[../../text()]" />

or

  <xsl:value-of select="solution/text()" />

Cheers,

Jarno

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


Current Thread