364,086 Members | 5437 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

which type name for various date format in an XSD file ?

pcouas
P: n/a
pcouas
Hi,

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 ?

Regards
Philippe

Jan 3 '07 #1
Share this Question
Share on Google+
2 Replies


Martin Honnen
P: n/a
Martin Honnen
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/
Jan 3 '07 #2

pcouas
P: n/a
pcouas
My final goal is to integrate dynamic XML datas coming from an Servlet
to Crystal Report on an Tomcat Server.
So i could test various date format and convert them to YYYY-MM-DD and
put date into XSD file ?

Regards
Philippe

Jan 3 '07 #3

Post your reply

Help answer this question



Didn't find the answer to your .NET Framework question?

You can also browse similar questions: .NET Framework