Get powerful results with XML Schema—fast!
The XML Schema Companion brings you up to speed on XML Schema with clarity, thoroughness, and precision. Itis the perfect introduction and reference for every content specialist, architect, and developer...including anyone working with the new schema support in Microsoft Office 2003.
As in his best-selling The XML Companion and The XSL Companion, Neil Bradley carefully organizes this book to fully illuminate the most crucial concepts first. You'll begin by mastering the construction of document models. Next, you'll learn how to define data types that can serve as reusable building blocks for your documents. Then you'll be ready to master the powerful XML Schema pattern language and inheritance techniques. The XML Schema Companion:
1. Using This Book.
Assumptions. Book Structure. Style Conventions.
Well-Formed Documents. Document Classes and Instances. Document Class Rules. Narrative Documents and Data Documents. Example Document Classes. Document Type Definitions. Alternative Modeling Languages. XML Schemas. Data Types.
Schema Documents. Annotations. Element and Attribute Declarations. Data Type Definitions. Common Attributes.
Validation Techniques. Namespace Complications. Document Instance Namespace Issues. Schema for Schemas.
Element Declarations. Attribute Declarations.
Document Structures. Child Element References. Complex Type Elements. Sequence of Elements. Optional and Repeating Elements. Choice of Elements. Complex Models. All Elements Required in Any Sequence. The any Element. Shared Groups.
Text. Text and Attributes. Mixed Content. Any Element Mixed with Text. Simple Data Types. Special Data Type Features. Nil Values.
Unequivocal Determination. Serious Ambiguities. Common Solutions. Any Element Ambiguities. Theoretically Trivial Ambiguities.
Global Element Limitations. Local Element Declarations. Context Element Requirement. Sharing Local Elements. Namespace Complications. SGML Exclusions and Inclusions.
Global Declarations. Namespace Complications. Attribute Groups.
Unique Fragments and References. Simple DTD-Based Identifiers. Advanced Requirements. Unique Fragment Identification. Fragment Selectors. Scope of Uniqueness. Identifier Fields. Key References. Complete Book Example.
Namespace and Schema Relationship. Element Importing. Attribute Importing. Any Element from Other Namespace. Validation Options. Any Attribute from Other Namespace.
Definitions and Documents. Including a Schema Document. Redefining a Schema Document. Importing a Schema Document.
Simple Type Definitions. Derivations. Restrictions. Facet Elements. Enumeration Facet. Whitespace and Pattern Facets. Length and Numeric Facets. Derivation of Derivation Limitations. Lists. Unions. Combinations of Unions and Lists. Example Built-in Extended Data Types. String Normalization and Tokens. Type Library.
Introduction. Simple Templates. Atoms. Quantifiers and Quantities. Escape Characters. Character Classes. Character Class Ranges. Subexpressions. Character Class Escapes.
Introduction. Named Complex Types. Additions to the Target Namespace. Derivation from Complex Types. Derivation by Extension. Derivation by Restriction. Simple Content.
Inheritance Concepts. Summary of Schema Inheritance Features. Final Types. Fixed Facets. Abstract Data Types. Substitution Data Type Selection. Blocking Derivation Usage. Substitution Elements. Comparison of Java and XML Inheritance Terminology.
Industry-Standard Models. Analysis Techniques. Backward Compatibility with a DTD. Element or Attribute Decision. Element Structures. Devising Element and Attribute Names. Comments. Lists. Tables. Representing Special Characters. Schema Document Construction.
Background. Declarations. Element Declarations. Attribute Declarations. Entities for Sharing Definitions. Notations. Suppressed DTD Fragments. Namespace Handling.
Background. Element Hierarchies. Attributes. Complete DTD.
Before Namespaces. The Need for Namespaces. The Namespaces Standard. Namespace Partitions. Namespace Identification. Absence of Namespaces. Namespace Declarations. Default Namespace. Attributes. Combined Qualified and Unqualified Elements. XML Namespace.
Introduction. General XML Sites. Relevant Software. Further Reading. Existing Document Models. Mailing Lists. About the Author.