Subject: RE: Re[2]: [xsl] [XSL] How to order numeric data containing comm From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Tue, 8 May 2001 14:38:40 +0100 |
> If, on the other hand, you are using commas as "thousand" > separators, > you can use transform this way: > > <xsl:sort select="translate(., ',', '0')" data-type="number"/> > > This will change "1,000" to "10000". Much better to use select="translate(., ',', '')" which will change "1,000" to "1000". Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re[2]: [xsl] [XSL] How to order num, Steven . C . Kienle | Thread | RE: [xsl] javascript and xsl, Theodore Weatherly |
RE: [xsl] instant saxon in validati, Michael Kay | Date | Re: [xsl] Breadth First Traversal, Jeni Tennison |
Month |