This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Selecting descendent text node
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: Selecting descendent text node
- From: Matthew Bentley <Matthew dot bentley at brookers dot co dot nz>
- Date: Fri, 15 Sep 2000 09:09:18 +1200
- Reply-To: xsl-list at mulberrytech dot com
I want to select the last (or first) text node descendant of a particular
element (lets say, list):
To select the first text node:
xpath=(list//text())[1]
To select the last text node:
xpath=(list//text())[last()]
However, XSLT does not allow this kind of matching in a template match:
Is there a way around this?
M@
******************************************************************
Warning: This email, including any attachments,
is for the use of the intended recipient(s) only.
Republication and redissemination,
including posting to news groups or web pages,
is strictly prohibited without the express prior consent of Brooker's Limited.
******************************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list