Subject: Re: <xsl:sort> Q
From: Mike Brown <mike@xxxxxxxx>
Date: Tue, 21 Nov 2000 17:56:42 -0700 (MST)
|
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
| Current Thread |
- <xsl:sort> Q
- mxmodi - Tue, 21 Nov 2000 17:52:14 -0600
- Mike Brown - Tue, 21 Nov 2000 17:56:42 -0700 (MST) <=
- <Possible follow-ups>
- Kay Michael - Wed, 22 Nov 2000 11:35:17 -0000
|
|