RE: [xsl] [XSL] How to order numeric data containing commas?

Subject: RE: [xsl] [XSL] How to order numeric data containing commas?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 7 May 2001 17:31:33 +0100
> Does anyone know how to get a numbers that contain commas to
> order properly
> in XSL.

In XSLT 1.0, numbers cannot contain commas. There are facilities for
formatting numbers with commas (either as a decimal point or as a grouping
character) on output, but none for parsing such numbers as input.

If you're using the comma as a decimal point, you could use translate() to
convert it to a full stop / period.

Mike Kay
Software AG


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


Current Thread