Schema Definition | ||
Unlike a DTD document, an XML schema document cannot be declared within an XML document. An XML schema document is defined in a separate document that has a .xsd extension. Every XML schema document contains a schema element as the root element. The schema element may contain attributes such as the namespace declaration. For example, in the code snippet on the right, the schema element is defined as: <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
The element and attribute declarations follow the schema definition. |
|
|
Click the Next button to continue. |