Re: [xsl] Natural sort of strings

Subject: Re: [xsl] 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