This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: <xsl:sort> Q
- To: xsl-list at mulberrytech dot com
- Subject: Re: <xsl:sort> Q
- From: Mike Brown <mike at skew dot org>
- Date: Tue, 21 Nov 2000 17:56:42 -0700 (MST)
- Reply-To: xsl-list at mulberrytech dot com
mxmodi@duke-energy.com 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