xsl-list
[Top] [All Lists]

RE: xpath confusion (compound xpath)

2003-01-24 01:47:40
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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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