XML schema
XML Schema defines the elements, entities, and content model of an XML document.
For example, for the example document shown in the topic XML, the schema might indicate that the XML document contains an element "Person", and that each "Person" contains one and only one element "FirstName", "LastName", and "Age". The XML Schema has additional capabilities, such as data type control and content restrictions.
An XML Schema allows an XML document to be validated for correctness.