saxon error: using format-number

Subject: saxon error: using format-number
From: Seema Ramanathan <sramanathan@xxxxxxxxxxxx>
Date: Tue, 23 May 2000 16:28:38 -0700
I am using format-number to display my prices with a comma and a dot,
like 21,200.35.

Here is a sample XML:


The XSL is:

<xsl:value-of select="//numbers[1]"/>  
<xsl:text> + </xsl:text>  
<xsl:value-of select="//numbers[2]"/>  
<xsl:text> = </xsl:text>  
<xsl:value-of select="format-number(translate(//numbers[1],',','') +

Resultant HTML in Stylus:
10,000.66 + 1,300.88 = 11,301.54

Though I get the desired output in Stylus, Saxon gives me a
"number-format function: locale not registered" error.
I am using a older version of Saxon is that what is causing the problem?


 XSL-List info and archive:

Current Thread