Re: [xsl] node-selection

Subject: Re: [xsl] node-selection
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Fri, 29 Oct 2004 21:44:23 +0200
Wendell Piez wrote:

(//item[@active=1])[last()]
Or
/descendant::item[@active=1][last()]

I was thinking of:


/descendant-or-self::item[@active=1][last()]

Note that they all function differently, though give the same result in most cases. I love these kind of subtle differences!

Grtz,
Geert

Current Thread