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

Subject: Re: Natural sort of strings
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 24 Feb 2011 11:31:16 +0000
O
I needed to sort strings in "natural" order. That means that I needed
output like this:



The task looks simple but my implementation is surprisingly untrivial.
Is there simple one?

In Saxon, use


<xsl:sort collation="http:// saxon.sf.net/collation?alphanumeric=yes"/>

Michael Kay
Saxonica

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