Subject: Re: [xsl] Using xsl:sort to sort negative values From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Tue, 20 Feb 2007 23:09:46 +0100 |
Cheers, -- Abel
Hi, Can anyone tell why the code below will not work?
<xsl:sort select="data" data-type="number"/>
I am trying to sort numeric data that contains negative values but the order seems to be wrong
<xml> <data>22</data> <data>2</data> <data>-5</data> <data>42</data> <data>0</data> <data>-1</data> <data>0</data> </xml>
This is the output
0 -1 0 -5 2 22 42
I want -5 -1 0 0 2 22 42
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Using xsl:sort to sort negati, Sola Awe | Thread | Re: [xsl] Using xsl:sort to sort ne, Sola Awe |
[xsl] Using xsl:sort to sort negati, Sola Awe | Date | Re: [xsl] Using xsl:sort to sort ne, David Carlisle |
Month |