xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor