Re: <xsl:sort> Q
mxmodi@xxxxxxxxxxxxxxx wrote: > I have a simple sort Q. I am trying to sort numbers for a select box in > ascending order. After running it through the XSLT processor, what I do > get is a sort, however, it is sorting based on the first digit of the > number. By doing so, it considers the number "3" to be greater than the > number "27". How do I avert this sorting? http://www.w3.org/TR/xslt#sorting <xsl:sort select="ID" data-type="number"/> - Mike ____________________________________________________________________ Mike J. Brown, software engineer at My XML/XSL resources: webb.net in Denver, Colorado, USA http://www.skew.org/xml/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format