Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can we validate date with XSD for below tag of Xml.

XML
<PurchaseOrderIssuedDate>
<Date>
<Year>0001</Year>
<Month>02</Month>
<Day>09</Day>
</Date>
<Time>08:58:06</Time>
</PurchaseOrderIssuedDate>
Posted
Comments
CHill60 11-Jun-15 8:16am    
Have you tried anything yet?
Sascha Lefèvre 11-Jun-15 8:44am    
If you can use C#, use the xsd.exe tool to generate code to read XML that conforms to that XSD and try reading the XML with it. If it succeeds, it's valid.
Maciej Los 15-Feb-16 17:12pm    
What you mean "validate"? In what aspect?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900