RE: [xsl] sorting problem

Subject: RE: [xsl] sorting problem
From: Modha Kumar <Modha.Kumar@xxxxxxxxxxxxx>
Date: Wed, 14 Feb 2001 10:42:36 -0800
Looks like it is sorting based on ascii value 
not sure

-----Original Message-----
From: Awasthi, Anand [mailto:Anand_Awasthi@xxxxxxx]
Sent: Wednesday, February 14, 2001 10:24 AM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: [xsl] sorting problem

 hi i am trying to sort following xml :


in desecnding order using following  xsl:

<xsl:stylesheet version="1.0"
  <xsl:template match="AAA">
      <xsl:apply-templates  select="BBB">
	        <xsl:sort data-type="number"  order="descending"

but everytime i am getting following output :

1 10 11 1111 22 2222 44344444

but acrually it should be :

1 10 11 22 1111 2222 44344444

i am not sure what the problem is ??

could somoene pls look into above xsl  piece and le t me know the problem ??


 XSL-List info and archive:

 XSL-List info and archive:

Current Thread