xsl-list
[Top] [All Lists]

Re: [xsl] Could not select the text() of both parent & child nodes simultaneously

2010-06-17 10:03:24
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--