[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Implementation practices regarding ordering

G. Ken Holman gkholman at CraneSoftwrights.com
Mon Mar 16 08:30:49 PST 2009


  Implementation practices regarding ordering
In my post earlier to Howard regarding his requirement for preserving 
document order, I talked about the difference between:

<library>
  {
   for $each in library/book
       order by $each/@pubYear descending
         return $each
  }
</library>

... and ...

declare ordering ordered;
<library>
  {
   for $each in library/book
       stable order by $each/@pubYear descending
         return $each
  }
</library>

... where the second is portable across all implementations and the 
first only when the implementation-defined values for ordering in 
both the separate default mode and FLWOR expression are implemented as ordered.

I'm starting my 5-day hands-on XQuery/XSLT class this morning in 
Prague in advance of the http://XMLPrague.cz conference, and I would 
like to tell students about implementation practices.  I'm running 
the same class in the Los Angeles area June 8-12.

Which of the publicly-announced implementations of XQuery do not 
assume document order when using location path addresses to get nodes 
from the source node tree?

Thanks for sharing!

. . . . . . . . . . . Ken

--
XQuery/XSLT/XSL-FO training in Los Angeles (New dates!) 2009-06-08
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson:    http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
Video overview:  http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
G. Ken Holman                 mailto:http://x-query.com/mailman/listinfo/talk
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/q/
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/q/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal



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-2011 All Rights Reserved.