xsl-list
[Top] [All Lists]

Re: parent node text() ??

2003-12-02 02:48:22

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



<Prev in Thread] Current Thread [Next in Thread>