XML Schemas
Table of contents
Reminder: Role of DTD-s in XML
DTD Type Definition
What is wrong with DTD-s?
Schemas
Simple Schema Version for the previous DTD
Schema Terminology
Same Schema with Anonymous Type
Groups
Any Order
Content models
Adding attributes
Datatypes
Built-in simple datatypes
Restriction on simple datatypes
Some examples for restriction possibilities
Use of enumeration
List types
Union types
Type Hierarchies
Example for extension
Example for restriction
Substitution Groups
Combination of schemas (to produce new schemas)
Combination of specifications
Specifying of Uniqueness
Conclusions