RE: Trying to sort numbers as numeric fields rather than text

Subject: RE: Trying to sort numbers as numeric fields rather than text
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 11 Oct 2000 09:40:37 +0100
> I have this xsl line for my order-by
> 
> <xsl:for-each select="Row" order-by="NumField">
> 
You are using the obsolete Microsoft XSL (That's three people have fallen
into this trap in one morning, how many more of their customers are going to
get hurt before their profits start suffering?)

See http://www.netcrucible.com/xslt/msxml-faq.htm

Once you're using XSLT, you can use <xsl:sort select="NumField"
data-type="number"/>

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread