XML Schema is an XML-based alternative to DTD.
To learn more about XML Schema, read our XML Schema tutorial.
XML 1.0 supports DTD for defining the structure of documents.
XML Schema has better support for applications, document structure, attributes, and data-typing.
Future versions of XML will rely on XML Schema for defining XML document types.
| Specification | Draft / Proposal | Recommendation |
|---|---|---|
| XML Schema (XSD) | 02. May 2001 | |
| XML Schema 1.0: Structures | 02. May 2001 | |
| XML Schema 1.0: Datatypes | 02. May 2001 | |
| XML Schema (2.Ed) | 28. Oct 2004 | |
| XML Schema Structures (2.Ed) | 28. Oct 2004 | |
| XML Schema Datatypes (2.Ed) | 28. Oct 2004 | |
| XML Schema Component Designators | 19. Jan 2010 | |
| XML Schema 1.1: Structures | 21. Jul 2011 | |
| XML Schema 1.1: Datatypes | 21. Jul 2011 |
Your message has been sent to W3Schools.