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] Could not select the text() of both parent & child nodes simultaneously


Subject: Re: [xsl] Could not select the text() of both parent & child nodes simultaneously
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 17 Jun 2010 16:02:55 +0100

On 17/06/2010 15:23, Jack Bush wrote:
Example ( A ) found the data but they need to be at the same time.


sorry I have no idea what you mean by that, can you post your desired output for the sample input you posted. In that input all the teams were in a elements which you can select by ns:a and all the goals are in text nodes that you can select by text(). so the code in (A)
text()|ns:a selects both teams and goals and wraps each in a <team>.


If that isn't what you want, you;ll need to say what you want.

David


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