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

Subject: Re: [xsl] parent node text() ??
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 2 Dec 2003 09:48:22 GMT
> text node "rang1" from the node "solution"
> or "valid_input"? I supported with <xsl:value-of
> select="solution/valid_input[../text()]" />

That does not select text nodes at all, it selects all the valid_input
nodes that have a text node sibling, takes there text content and
concatenates them together.

You want
<xsl:value-of select="solution/text()[1]"/>

David


-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


Current Thread