Re: [xsl] node-selection

Subject: Re: [xsl] node-selection
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Sat, 30 Oct 2004 10:25:59 +0200
Hi Wendell,

> This works too, though it is redundant, there being no chance that the
> root node of the document is itself an 'item' element node.
> (/self::item, or /self::* for that matter, must return empty node sets.)

Ah, ofcourse! How could I overlook the / at the start. I have been using descendant-or-self a lot
lately (though descendant axes are often fairly 'expensive' in performance), but not with a / up
front... :-)

Grtz,
Geert

Current Thread