Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - which type name for various date format in an XSD file ? >Thread Next - Re: which type name for various date format in an XSD file ? Re: which type name for various date format in an XSD file ?To: NULL Date: 1/3/2007 5:00:00 PM pcouas wrote: > I need to create an XSD file for XML document > In mys XML document i could have various date format > YYYYMMDD, YYMMDD, DDMMYY, DDMMYYYY > I know theses formats before creating xsd file, but i search how define > type for theses format ? YYYY-MM-DD (plus optional timezone info) is prefined as xs:date, see <http://www.w3.org/TR/xmlschema-2/#date>. Consider using that format if you have the choice. -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
