[Home] [By Thread] [By Date] [Recent Entries]


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: 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



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member