Re: node-selection2004-10-30 01:25:59Hi 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
|
|