Prashant C wrote:
Quote:
I declared one element in my XML Schema as "xs:dateTime", when I validate the
XML with the date in the format "dd/mm/yyyy", it shows the error that the
give value is not valid, so my question is how to change the date format in
XML Schema ?? |
xs:dateTime means yyyy-mm-ddThh:mm:ss.sss plus optional time zone
information, see <http://www.w3.org/TR/xmlschema-2/#dateTime>.
There is also xs:date which has format yyyy-mm-dd
<http://www.w3.org/TR/xmlschema-2/#date>.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/