What Is XSD (XML Schema Definition)?
XSD itself is an XML based language. All XSD statements are written in XML format. If an XML document is said to be valid against a XSD schema, all elements, attributes and entities in the XML document must meet their declared formats described in the XSD schema. Main features of XSD: • XSD is an XML based language, meaning than XSD statements will be written in XML format. • One “schema” statement defines one schema. • Within the “schema” statement, “element”, “simpleType”, and “complexType” statements are included to define details of the schema. • XSD statements that define the schema can be included inside the XML file. • XSD statements that define the schema can be stored as a separate file and linked to the XML file.