by EricvanderVlist (Author)
For creating or using formal descriptions of XML vocabularies, this text offers a set of tools for defining acceptable document structures and content. An alternative to DTDs as the way to describe and validate data in an XML environment, the book should enable developers to create precise descriptions with a richer set of datatypes-such as booleans, numbers, currencies, dates and times - that are useful for modern applications. It explains the ins and outs of XML Schema, including design choices, best practices, and limitations. Particularly valuable are discussions of how the type structures fit with existing database and object-oriented program contexts. With XML Schema, you can define acceptable content models and annotate those models with additional type information, making them more readily bound to programs and objects. Schemas combine the easy interchange of text-based XML with the more stringent requirements of data exchange, and make it easier to validate documents based on namespaces. Examples are included that demonstrate the details necessary for precise vocabulary definitions. Topics covered within the book include: 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; and documenting schemas and extending XML schema capabilities. In addition to the explanatory content, XML Schema offers a complete reference to all parts of both the XML Schema structures and XML Schema datatypes specifications, as well as a glossary. Appendices 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.
Format: Illustrated
Pages: 400
Edition: 1
Publisher: O'Reilly Media
Published: 05 Jul 2002
ISBN 10: 0596002521
ISBN 13: 9780596002527