[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Could not select the text() of both parent & child

Subject: Re: 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
Re:  Could not select the text() of both parent & child
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.