xsl-list
[Top] [All Lists]

Re: node-selection

2004-10-29 12:44:23
Wendell Piez wrote:

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

I was thinking of:

/descendant-or-self::item[(_at_)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


<Prev in Thread] Current Thread [Next in Thread>