Hi.
I defined a simpletype as a decimal in my xsd file. If I type a value like
12.7 the validation works, but if I try 12,7 the validation process gives me
an error. I am in Brazil, and here decimal numbers are represented with
commas, instead of periods (.). Is it possible to make the validation
process accept commas instead of periods for decimal numbers?
Thanks,
Antonio Maciel
Chris Lovett - 22 Oct 2003 07:01 GMT
The data type formats in XML are stored in a language neutral format so that
they are truly globally interchangeable.
Locale formatting of XML data is done at the UI level, and not in the XML
itself.
Use XmlConvert to convert those strings to typed values.
Use System.Globalization.NumberFormatInfo to convert those typed values to
the right locale specific strings.
> Hi.
>
[quoted text clipped - 7 lines]
>
> Antonio Maciel