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

RE: XPath 2.0

Subject: RE: XPath 2.0
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 8 Jan 2002 17:13:23 -0000
RE:  XPath 2.0
> You are right.  And I have indeed read about "<<" just before
> reading about precedes.
> It seems that I will personally use a role of thumb :
> never use precedes  :)

There's an open issue as to whether we need to provide "<<" (which tests for
document order) or "precedes" (which tests whether one node is on the
preceding axis of another), the current situation in which both are offered
is almost certainly overkill. Therefore if you have any input (e.g. use
cases) that indicate one of these operators is preferable to the other,
please send it to the official comments address!

I must say my personal preference is for "<<", simply on the grounds that it
means exactly one of the conditions a<<b, a==b, and a>>b will be true
(assuming a and b are single nodes); I think it's also likely to be more
efficient to test, given that implementations have to have an efficient way
of sorting into document order.

Mike Kay

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

Current Thread


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.
First Name
Last Name
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.