What does the DTD say?
If the XML file is designed to communicate with other existing software (for example, SOAP), then check this software for what it expects.
If the XML file is intended for serialization or communication with non-existent software (for example, the one you are writing), you can define it. In this case, I suggest that it is easy to analyze in your chosen language (s) and is easy to read for people. for example, if your language (be it VB.NET or C # .NET or something else) makes it easy to parse ISO dates (YYYY-MM-DD), which I would suggest.
Tanktalus Oct. 31 '08 at 20:01 2008-10-31 20:01
source share