Subject: RE: Selecting first descendant text node
From: Christian Roth <roth@xxxxxxxxxxxxxx>
Date: Sat, 12 Jan 2002 12:14:05 +0100
|
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
|