| |
| |
Introduction | |
| |
| |
| |
Xmlschema Basics | |
| |
| |
| |
An Overview of XML Schema | |
| |
| |
The Politics of XML | |
| |
| |
A Schema Is Not Necessarily an XML Schema | |
| |
| |
How Schema Relate to Document Type Definitions | |
| |
| |
The Evolution of XML Schema | |
| |
| |
Advantages of Schema | |
| |
| |
Why the Schema Recommendation Has Two Parts | |
| |
| |
Overview of | |
| |
| |
| |
Structures | |
| |
| |
Overview of | |
| |
| |
| |
Datatypes | |
| |
| |
Conclusion | |
| |
| |
In the Real World | |
| |
| |
| |
Schema Structure | |
| |
| |
Schema Are XML | |
| |
| |
The Element | |
| |
| |
Using Namespaces in Schema | |
| |
| |
Comparing a DTD and an XML Schema | |
| |
| |
Conclusion | |
| |
| |
In the Real World | |
| |
| |
| |
Converting a DTD into a Schema | |
| |
| |
The Legacy of Document Type Definitions | |
| |
| |
Differences Between DTDs and Schema | |
| |
| |
A Simple Airline Ticket Itinerary DTD | |
| |
| |
Converting the DTD to a Schema | |
| |
| |
The Finished Schema | |
| |
| |
Resources for Converting DTDs | |
| |
| |
Conclusions | |
| |
| |
In the Real World | |
| |
| |
| |
Xmlschema Basics | |
| |
| |
| |
The Components of XML Schema | |
| |
| |
Introducing Components | |
| |
| |
Handling Names with Schema | |
| |
| |
General Constraints and Validation Rules | |
| |
| |
Type Definitions | |
| |
| |
Element Schema Components | |
| |
| |
Attribute Schema Components | |
| |
| |
Notations | |
| |
| |
Particles, Model Groups, and Annotations | |
| |
| |
Conclusions | |
| |
| |
In the Real World | |
| |
| |
| |
Element Declarations | |
| |
| |
The Importance of Elements | |
| |
| |
Defining Elements with Schema | |
| |
| |
Properties | |
| |
| |
Constraining Elements with Attributes | |
| |
| |
Content Models... | |
| |
| |
Substitution Groups | |
| |
| |
Conclusion | |
| |
| |
In the Real World | |
| |
| |
| |
Attributes | |
| |
| |
Attributes Are Fundamental | |
| |
| |
Attribute Properties | |
| |
| |
Defining Attributes with Schema | |
| |
| |
attributeGroup | |
| |
| |
anyAttribute | |
| |
| |
Built-in Attributes | |
| |
| |
Conclusion | |
| |
| |
In the Real World | |
| |
| |
| |
Model Groups | |
| |
| |
Model Groups and Schema Content | |
| |
| |
What Is a Model Group? Particles | |
| |
| |
Defining Model Groups | |
| |
| |
Wildcards | |
| |
| |
Notations | |
| |
| |
Annotations | |
| |
| |
Conclusions | |
| |
| |
In the Real World | |
| |
| |
| |
Example Schema: A Contact Schema | |
| |
| |
Building an XML Schema | |
| |
| |
Outlining the Schema | |
| |
| |
Building the Schema | |
| |
| |
Bringing It All Together | |
| |
| |
Conclusion | |
| |
| |
In the Real World | |
| |
| |
| |
Xmlschema Datatypes | |
| |
| |
| |
Introducing Datatypes | |
| |
| |
What Is a Datatype? | |
| |
| |
How Datatypes Function in Schema Namespaces and Datatypes | |
| |
| |
Primitive and Derived Datatypes | |
| |
| |
Built-In and User-Derived Datatypes | |
| |
| |
Facets | |
| |
| |
Atomic, List, and Union Datatypes | |
| |
| |
Conclusion | |
| |
| |
In the Real World | |
| |
| |
| |
Primitive Datatypes | |
| |
| |
Introducing Primitive Datatypes | |
| |
| |
string | |
| |
| |
boolean | |
| |
| |
Numeric Datatypes | |
| |
| |
Date and Time Datatypes | |
| |
| |
Binary Datatypes | |
| |
| |
anyURI | |
| |
| |
QName | |
| |
| |
Notation | |
| |
| |
Conclusion | |
| |
| |
In the Real World | |
| |
| |
| |
Derived Datatypes | |
| |
| |
Built-In Derived Datatypes | |
| |
| |
normalizedString | |
| |
| |
token | |
| |
| |
language | |
| |
| |
Backward Compatibility | |
| |
| |
Name | |
| |
| |
integer | |
| |
| |
long | |
| |
| |
int | |
| |
| |
short | |
| |
| |
byte | |
| |
| |
Conclusion | |
| |
| |
In the Real World | |
| |
| |
| |
Representing and Modeling Data | |
| |
| |
Working with Data | |
| |
| |
Deriving Simple Types | |
| |
| |
Deriving Complex Types | |
| |
| |
Anonymous Versus Named Types | |
| |
| |
Scope | |
| |
| |
Abstract Types | |
| |
| |
Controlling Derived Types | |
| |
| |
Uniqueness | |
| |
| |
Regular Expressions and XML Schema | |
| |
| |
Conclusion | |
| |
| |
In the Real World | |
| |
| |
| |
Example Schema: Customer Invoice | |
| |
| |
Outlining the Schema Requirements | |
| |
| |
Defining the Datatypes | |
| |
| |
Writing the Schema | |
| |
| |
Conclusion | |
| |
| |
In the Real World | |
| |
| |
| |
Developing a Purchase Order Schema | |
| |
| |
| |
Building Multipart Schema | |