XSL sorting
XML / XSL
2
Posts
2
Posters
3
Views
1
Watching
-
Hello, I am trying to do some sorting (depending on an attribute) using XSL, it is kindof working, but my attribs are being sorted like strings. eg. the sequence 1,2,10 when sorted, comes out: 2,10,1 instead of 10,2,1 How could i fix this? Cheers, JEremy. Jeremy Pullicino Professional C++ Developer Done any hacking lately?
-
Hello, I am trying to do some sorting (depending on an attribute) using XSL, it is kindof working, but my attribs are being sorted like strings. eg. the sequence 1,2,10 when sorted, comes out: 2,10,1 instead of 10,2,1 How could i fix this? Cheers, JEremy. Jeremy Pullicino Professional C++ Developer Done any hacking lately?
<xsl:sort
select="@attribute_name"
order="descending"
data-type="number"
/>