XML Schema
XML Schema
If you need to create or use formal descriptions of XML vocabularies, the W3C's XML Schema offers a powerful 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, XML Schema enables developers to create precise descriptions with a richer set of datatypes?such as booleans, numbers, currencies, dates and times?that are essential for today's applications.Schemas are powerful, but that power comes with substantial complexity. This concise book 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.You?ll find plenty of examples in this book that demonstrate the details necessary for precise vocabulary definitions. Topics include:
- Foundations of XML Schema syntaxFlat, russian-doll, and other schema approachesWorking with simple and complex types in a variety of contextsThe built-in datatypes provided by XML SchemaUsing facets to extend datatypes, including regular expression-based patternsUsing keys and uniqueness rules to limit how and where information may appearCreating extensible schemas and managing extensibilityDocumenting schemas and extending XML Schema capabilities through annotations
Author: Eric Van Der Vlist
Publisher: O'Reilly Media
Published: 07/16/2002
Pages: 400
Binding Type: Paperback
Weight: 1.40lbs
Size: 9.10h x 6.44w x 0.94d
ISBN: 9780596002527
About the Author
Eric van der Vlist is the resident expert on XML schema languages on XML.com. He is also a member of the ISO DSDL committee, where standardization work on RELAX NG and related specifications is in progress. Eric is also the author of O'Reilly's XML Schema.