Preface. 1. Using This Book. Assumptions. Book Structure. Style Conventions.
Document Models. 2. Essential Concepts. 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.
3. Schema Definitions. Schema Documents. Annotations. Element and Attribute Declarations. Data Type Definitions. Common Attributes.
4. Validating Document Instances. Validation Techniques. Namespace Complications. Document Instance Namespace Issues. Schema for Schemas.
5. Simple Elements and Attributes. Element Declarations. Attribute Declarations.
6. Defining Document Structures. 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.
7. Text and Simple Data Types. Text. Text and Attributes. Mixed Content. Any Element Mixed with Text. Simple Data Types. Special Data Type Features. Nil Values.
8. Ambiguities. Unequivocal Determination. Serious Ambiguities. Common Solutions. Any Element Ambiguities. Theoretically Trivial Ambiguities.
9. Local Elements. Global Element Limitations. Local Element Declarations. Context Element Requirement. Sharing Local Elements. Namespace Complications. SGML Exclusions and Inclusions.
10. Global and Shared Attributes. Global Declarations. Namespace Complications. Attribute Groups.
11. Unique and Referenced Elements. 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.
12. Namespace Switching. Namespace and Schema Relationship. Element Importing. Attribute Importing. Any Element from Other Namespace. Validation Options. Any Attribute from Other Namespace.
13. Including External Components. Definitions and Documents. Including a Schema Document. Redefining a Schema Document. Importing a Schema Document.
Creating Data Types. 14. Creation of New Simple Types. 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.
15. Patterns. Introduction. Simple Templates. Atoms. Quantifiers and Quantities. Escape Characters. Character Classes. Character Class Ranges. Subexpressions. Character Class Escapes.
16. Shared and Derived Complex Types. Introduction. Named Complex Types. Additions to the Target Namespace. Derivation from Complex Types. Derivation by Extension. Derivation by Restriction. Simple Content.
17. Advanced Inheritance Techniques. 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.
Reference. 18. Document Modeling Techniques. 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.
19. DTD Models. Background. Declarations. Element Declarations. Attribute Declarations. Entities for Sharing Definitions. Notations. Suppressed DTD Fragments. Namespace Handling.
20. DTD for Schema Definitions. Background. Element Hierarchies. Attributes. Complete DTD.
21. Namespaces. 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.
22. Next Steps. Introduction. General XML Sites. Relevant Software. Further Reading. Existing Document Models. Mailing Lists. About the Author.
Index.