[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: node-selection
From: Stefan Borchert <stefan@xxxxxxxxxxxx>
Date: Sat, 30 Oct 2004 10:16:25 +0200
Hi!

> (//item[@active=1])[last()]

Argh, I tried this but without the surrounding brackets. But it make really sense. :-)

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

ok, think I understand it now

Thanks to all. It now works as I expect it.

greetings,

Stefan

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member