[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XPath2 preceding / following axis and attributes

Subject: Re: XPath2 preceding / following axis and attributes
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Tue, 10 Jan 2006 13:37:31 +1100
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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.