XML Schema: The W3c's Object-Oriented Descriptions for XML (Safari Electronic Books)

by Eric Van Der Vlist

0 ratings • 0 reviews • 0 shelved
Book cover for XML Schema

Bookhype may earn a small commission from qualifying purchases. Full disclosure.

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.
  • ISBN10 1449315925
  • ISBN13 9781449315924
  • Publish Date 25 June 2002
  • Publish Status Active
  • Imprint O'Reilly Media
  • Format eBook
  • Pages 400
  • Language English