![]() |
![]() | ![]() | ![]() | 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 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/ > | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
