W3C XML Schema - World Wide Web Consortium
XSD (XML Schema Definition), a recommendation of the World Wide Web Consortium (), specifies how to formally describe the elements in an Extensible Markup Language document.It can be used by programmers to verify each piece of item content in a document. They can check if it adheres to the description of the element it is placed in. Like all XML schema languages, XSD can be used to express a ...
The W3C's XML Schema Recommendation offers a powerful set of tools for defining XML document structures and content. XML Schema explains this toolkit of strongly typed approaches with an object-oriented heritage. Building from that foundation, developers can create precise descriptions that both define acceptable content models and provide additional type information, making them more readily bound to programs and objects. You'll learn how XML Schema combines the easy interchange of text-based XML with the more stringent requirements of data exchange. While schemas are powerful, that power comes with substantial complexity. XML Schema explains the ins and outs of XML Schema, including design choices, best practices, and limitations. Discussions of the type structures explore how these types fit with existing database and programming contexts. Consistent examples provide a firm underpinning for the explanations, demonstrating all the details necessary for precise vocabulary definitions. This book covers : Foundations of XML Schema syntax ; Flat, "russian-doll", and other Schema approaches ; Working with simple and complex types in a variety of contexts ; The built-in datatypes provided by XML Schema ; Using facets to extend datatypes, including regular expression-based patterns ; Using keys and uniqueness rules to limit how and where information may appear ; Creating extensible schemas and managing extensibility ; Documenting schemas and extending XML Schema capabilities through annotations. XML Schema also provides a complete reference to all parts of both the XML Schema Structures and XML Schema Datatypes specifications as well as a glossary. Appendixes explore the relationships between XML Schema and other tools for describing document structures, including DTDs, RELAX NG, and Schematron, as well as work in progress at the W3C to more tightly integrate XML Schema with existing specifications. Whether you're building your own schemas, interpreting, revising, or integrating schemas created by others, or creating applications that can process schemas, you'll find that XML Schema reaches all the way to the core.
Extensible Markup Language — Wikipédia
An XML Schema is a language for expressing constraints about XML documents. There are several different schema languages in widespread use, but the main ones are Document Type Definitions (DTDs), Relax-NG, Schematron and W3C XSD (XML Schema Definitions). From this page you can find out more about DTDs and W3C XSD, since those are the primary schema languages defined at W3C. What is XML Schema ...