Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Set comma as decimal separator

From: actarus@-----------.---------.---
To: NULL
Date: 7/5/2005 6:13:00 AM
Ok, I have another question, I have an element that could be with or without 
data and if the element has a data this should be a particular data types, 
for example:
<data_gara>21/07/2005</data_gara> or
<data_gara />
How can I write that in a xsd schema?

"Martin Honnen" ha scritto:

> 
> 
> actarus wrote:
> 
> > 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? 
> 
> Yes, you need to convert that numeric data first to the proper float or 
> double format XSD defines for those data types meaning you must be using 
> the '.' as the decimal separator.
> 
> -- 
> 
> 	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