Sorting numbers in XML

admin

Administrator
Staff member
I am having trouble using the order attribute of <xsl: sort > I want to sort a column of numbers in assending order, and it seems to only sort by the first number in the number string, not the whole number. Here's the relevent XSL:
<xsl:sort select="SUITE" data-type="number" order="ascending"/>

The output is at: <!-- m --><a class="postlink" href="http://cohencentral.com/projects/ocs_project/xml/xsl/av_resources.xml">http://cohencentral.com/projects/ocs_pr ... ources.xml</a><!-- m -->

Any help is appreciated. Thanks, A
 
Back
Top