This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Selecting first descendant text node
- From: "Oleg Tkachenko" <olegt at multiconn dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 11 Jan 2002 18:03:57 +0200
- Subject: RE: [xsl] Selecting first descendant text node
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello!
> how do I select the first descendant text node of an element?
What about that rather ugly pattern:
item//text()[count((ancestor::item[1]//text())[1] | .)=1]
---
Oleg Tkachenko,
Multiconn International, Israel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list