[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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
|