[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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|