![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: Set comma as decimal separator >Thread Next - Re: Set comma as decimal separator Re: Set comma as decimal separatorTo: NULL Date: 7/5/2005 4:29:00 AM I try to explain my problem: I have an xml file with ',' as separator and I want to write a xsd file to validate this xml file. So if I can't use xsd data types for decimal data with ',' as separator, I need to convert the ',' in '.' if I want to use it? I hope to be clear, I'm an italian developer. Thanks anyway. "Martin Honnen" ha scritto: > > > actarus wrote: > > > How can I set a comma as a decimal separator in a xsd file? > > If you want to make use of the XSD data types then you need to use the > '.' as the decimal separator for the float or double data you want to > store. Of course when creating a report of the data stored in the XML > you are free to represent such numerical data according to local > conventions, XSLT has the xsd:decimal-format element and the > format-number function for that. > > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ > | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
