Re: xpath question, getting last instance of element2003-02-25 11:54:02Hi, 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
|
|