Practice XSD Schema online to validate XML documents by Examples

Here is a set of XML document and their corresponding XSD for validation.

[info]Click here for A quick reference with examples for XSD[/info]

[info]A valid XML document complies with the set of rules defined with the XSD or the DTD[/info]

1 Document 1: It is already done for you 🙂

XML
XSD


2 Try to write the XSD for the following XML document

XML
XSD


3 Try to write the XSD for the following XML document

XML
XSD


4 Document 4: It is already done for you 😉

XML
XSD


5 Document 5: Write the XSD for the following XML document:

XML
XSD


6 Document 6: Seems easy but watch out ! Type an XML document for the provided XSD

XML
XSD


7 This is a bit challenging if you are Smart: Make sure you restrict the genre of DVD between the following values(Pop, Classical, Rock, Country);

XML
XSD

No Responses

Leave a Reply

Your email address will not be published. Required fields are marked *