This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Selecting first descendant text node
- From: Christian Roth <roth at visualclick dot de>
- To: XSL-List <XSL-List at lists dot mulberrytech dot com>
- Date: Sat, 12 Jan 2002 12:14:05 +0100
- Subject: RE: [xsl] Selecting first descendant text node
- References: <FHEBIIJOBHDNLGLAHNBPIEAHCIAA.olegt@multiconn.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello Oleg,
>> how do I select the first descendant text node of an element?
>
>item//text()[count((ancestor::item[1]//text())[1] | .)=1]
And yet again I'm made aware of the fact that it's always the most
simplest things that I usually fail in...
It indeed works! And maybe in two weeks or so, I'll also have gotten to
the point where I understand why.
Thank you VERY much!
Regards, Christian.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list