Latest web development tutorials

XML Schema Tutorial

XML Schema describes the structure of XML documents.

In this tutorial, you will learn how to read and create XML Schema language in your application, why XML Schema is more powerful than the DTD, XML Schema and how to use your application.

Now start learning XML Schema!

XML Schema instance

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:element name="note">
<xs:complexType>
<xs:sequence>
<xs:element name="to" type="xs:string"/>
<xs:element name="from" type="xs:string"/>
<xs:element name="heading" type="xs:string"/>
<xs:element name="body" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>

</xs:schema>


XML Schema Reference

In W3CSchool, we learned the full XML Schema elements.

XML Schema Reference