|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPath2 preceding / following axis and attributes
On 1/10/06, Dimitre Novatchev <dnovatchev@xxxxxxxxx> wrote:
> In fact, it is easy to see that the following two XPath expressions
> are equivalent:
>
> someElement/@someAttribute/following::someNodeTest
>
> and
>
> someElement/following::someNodeTest
>
if the element someElement has an attribute someAttribute.
To state this more precisely, the equivalence should be re-written as:
In fact, it is easy to see that the following two XPath expressions
are equivalent:
someElement/@someAttribute/following::someNodeTest
and
someElement/@someAttribute/../following::someNodeTest
--
Cheers,
Dimitre Novatchev
---------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








