Subject: RE: xpath confusion (compound xpath)
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 24 Jan 2003 08:47:40 -0000
|
> Hmm... in place of "[generate-id() = generate-id(
> current())]", wouldn't "[self::current()]" work just as well?
> Or am I missing something?
>
I'm not sure what you're missing, but you're trying to make the language
up as you go along. An axis specifier such as "self::" is always
followed by a NodeTest, and a function call can never be a NodeTest.
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|