Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Set comma as decimal separator

From: actarus@-----------.---------.---
To: 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/
> 


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent