cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Mora <>
Subject Problems with format-number()
Date Mon, 06 Nov 2000 09:34:57 GMT

i got a problem using the format-number() in a XSL
under Windows NT 2000.
If the system locale is set to "English (United
State)", the following XSL portion works ok:

<xsl:decimal-format name="european"
    decimal-separator="," grouping-separator="." />
<xsl:variable name="variable">10.1000</xsl:variable>
<xsl:value-of select="format-number($variable,
'#.###,000000', 'european')"/>

The output is what i expect:


But if i switch the system locale to "Italy", the
contry where i live, the output is:


There is a way for make my XSL work with any locale
the user will set?

Thank you,
Davide Mora

Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.

View raw message