xalan-j-users@xml.apache.org
[Top] [All Lists]

exponent in number and sorting

Subject: exponent in number and sorting
From: Reto Bachmann-Gmür
Date: Fri, 17 Mar 2006 10:42:06 +0100
hello

My xml contains number in the following format:

<ns6:childStrength  
rdf:datatype="http://www.w3.org/2001/XMLSchema#float";>9.983066E-6</ns6:childStrength>
<ns6:childStrength  
rdf:datatype="http://www.w3.org/2001/XMLSchema#float";>0.0023</ns6:childStrength>

I'm using xsl:sort with data-type="number", however xalan doesn't seem to 
regard 9.983066E-6 as being smaller than 0.0023. Any way to tell xalan to do this?

Cheers,
reto

<Prev in Thread] Current Thread [Next in Thread>