C.1 What Is XSD?


XML Schema Description (XSD), sometimes referred to as W3C XML Schema (WXS), is an XML vocabulary that lets you describe other XML vocabularies so that programs can test whether a given document meets rules laid down in the schema. XSD is defined by a set of three W3C Recommendations:


XML Schema Part 0: Primer

A tutorial for XML Schema, explaining Parts 1 and 2 in simpler terms with more examples and integration. Available at http://www.w3.org/TR/xmlschema-0/.


XML Schema Part 1: Structures

An XML vocabulary for describing the structures of XML vocabularies, based on a mixture of markup and object-oriented design. Available at http://www.w3.org/TR/xmlschema-1/.


XML Schema Part 2: Datatypes

A set of extensible types for describing the contents of XML elements and attributes, including things like integers, decimals, and dates. Available at http://www.w3.org/TR/xmlschema-2/.

The mechanisms for defining structures and datatypes allow schema designers to create type systems that may be extended or restricted. This brief appendix will focus on the parts of XSD you need to define document structures, and leaves advanced features like extension, restriction, substitution groups, and keys for more detailed exploration in other books.

For more information on XSD generally, see Eric van der Vlist's XML Schema (O'Reilly) or Priscilla Walmsley's Definitive XML Schema (Prentice-Hall). The Primer noted above may also be a good place to start.




Office 2003 XML
Office 2003 XML
ISBN: 0596005385
EAN: 2147483647
Year: 2003
Pages: 135

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net