|
top
|
 Subject: How to change decimal grouping delimiters from Author: (Deleted User) Date: 13 Jul 2004 05:07 PM
|
Hi Matt,
XML Schema only allows the "." as the decimal separator; for instance,
this is what the specs say about the lexical representation of a
xs:decimal instance:
decimal has a lexical representation consisting of a finite-length
sequence of decimal digits (#x30-#x39) separated by a period as a
decimal indicator. [...] An optional leading sign is allowed.
If the sign is omitted, "+" is assumed. Leading and trailing zeroes
are optional. If the fractional part is zero, the period and following
zero(es) can be omitted.
For example: -1.23, 12678967.543233, +100000.00, 210.
So, the XML file must use this format; if you want to generate output
using a specific regional setting, you have to write the XSLT that,
by using [xsl:number format=""], converts the number into the
desidered text.
Hope this helps,
Alberto
|
|
|