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

RE: How to sort a nodeset returned by key()?

Subject: RE: How to sort a nodeset returned by key()?
From: Dolmen ! <dolmen@xxxxxxxxxxx>
Date: Sat, 5 Apr 2008 18:59:05 +0200
RE:  How to sort a nodeset returned by key()?
Olivier Mengui wrote:
> I found an other way. However it is much more verbose and it requires an
additional for-each loop.

I have applied my solution to a three-level grouping, so two levels of
rowspan, and a sort on three keys.
As it is becoming quite complex and as it may be useful to others, here is
it.
It may be useful to put it in the FAQ, as rowspan tips are lacking.

Here is the data :





      Ferrari
      Testarossa
      1


      Peugeot
      307
      50




      Ferrari
      Maranello
      1


      Lamborghini
      Murciilago
      1


      Peugeot
      307
      10


















    Garage inventory ordered by brand, model



	    BrandModelZoneCount






















































Olivier Mengui
http://o.mengue.free.fr/
_________________________________________________________________
Criez votre disque dur virtuel Windows Live SkyDrive, 5Go de stockage gratuit
!
http://www.windowslive.fr/skydrive/

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.