This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xpath expression - select first node from last parent
- From: "Zwetselaar M. van (Marco)" <Marco dot van dot Zwetselaar at nl dot fortis dot com>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 29 Jan 2002 13:27:49 +0100
- Subject: RE: [xsl] xpath expression - select first node from last parent
- Reply-to: xsl-list at lists dot mulberrytech dot com
Andrew Welch wrote:
> I would like an generic Xpath expression that will match the
> first child of a parent that is positionally last.
What about this one?
*[position()=last()]/*[1]
Marco
***************************DISCLAIMER***********************************
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n).
Verstrekking aan en gebruik door anderen is niet toegestaan.
Fortis sluit iedere aansprakelijkheid uit die voortvloeit uit
electronische verzending.
This e-mail is intended exclusively for the addressee(s), and may
not be passed on to, or made available for use by any person
other than the addressee(s).
Fortis rules out any and every liability resulting from any
electronic transmission.
****04******************************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list