RE: [xsl] XPath2 preceding / following axis and attributes

Subject: RE: [xsl] XPath2 preceding / following axis and attributes
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 10 Jan 2006 09:37:47 -0000
> In fact, it is easy to see that the following two XPath expressions
> are equivalent:
> 
>       someElement/@someAttribute/following::someNodeTest
> 
> and
> 
>      someElement/following::someNodeTest

No, I don't think that's correct. The former includes descendants of
someElement, the latter doesn't.

Michael Kay
http://www.saxonica.com/

Current Thread