RE: [xsl] xpath expression - select first node from last parent

Subject: RE: [xsl] xpath expression - select first node from last parent
From: "Zwetselaar M. van (Marco)" <Marco.van.Zwetselaar@xxxxxxxxxxxxx>
Date: Tue, 29 Jan 2002 13:27:49 +0100
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


Current Thread