Re: [xsl] xpath question, getting last instance of element

Subject: Re: [xsl] xpath question, getting last instance of element
From: Piotr Banski <bansp@xxxxxxxxxxxxxxxxxx>
Date: Tue, 25 Feb 2003 19:54:02 +0100 (CET)
Hi,

On Tue, 25 Feb 2003, Alan Stein wrote:
> I'm trying to figure out how to select the final instance of "DDD" in the 
> following example, but since the predicate refers to the element's relative 
> position to its neighbors, I am having trouble formulating an xpath which 
> would take the last position with respect to the root of the document.

I think you want //DDD[last()]

Piotr


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread