Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xml-dev] sorting elements

From: "Michael Kay" <mike@--------.--->
To: "'Esteban Pizzini'" <esteban.pizzini@-----.--->,<xml-dev@-----.---.--->
Date: 2/1/2006 3:42:00 PM
As well as David's reply, see also the recent thread under 
the title "natural sorting" on the mulberrytech xsl-list.
 
I'm planning to introduce an alphanumeric collation in the 
next Saxon release which will handle this kind of ordering.
 
Michael Kay
http://www.saxonica.com/


  
  
  From: Esteban Pizzini 
  [mailto:esteban.pizzini@g...] 
Sent: 01 February 2006 
  13:57
To: xml-dev@l...
Subject: [xml-dev] sorting 
  elements


  Hi people,

I have to sort some elements that have the 
  following 
  content:

<art>1.1</art>
<art>1</art>
<art>2</art>
<art>2.1.1</art>
<art>2.1</art>

and 
  the order should be 1 - 1.1 - 2 - 2.1 - 2.1.1

What method should I use? 
  because the value that I've to use for sorting has a hierarchical meaning.. 
  
Any idea?

Thanks!!

Esteban


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent