Subject: Re: [xsl] [XPath 1.0] Why is .[A] illegal but self::node()[A] is legal?|
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sat, 07 Aug 2010 18:01:27 +0100
Why is this XPath 1.0 expression illegal:
whereas this XPath 1.0 expression is legal:
Isn't '.' a shorthand for 'self::node()'? Shouldn't I be able to interchange the two in any expression?
Michael Kay Saxonica