D A T Y P I C
home
services
Training
books
about

XML Schema Training

Introduction to XML Schema

This two- to three-day course presents the basics of W3C XML Schema from a technical perspective. It provides attendees with a solid understanding of the components of XML schemas, and how to combine them to describe the structure of XML documents. Emphasis will be on the core features: element and attribute declarations, simple and complex types, assembling schema documents and namespaces. Advanced features of XML Schema are also covered. Hands-on exercises are provided for each topic to reinforce the material presented.

Topics Covered:

  1. Schemas: An Overview
    • The Purpose of Schemas
    • Schema Languages
    • Schema Design
    • A Simple Schema Example
    • Schema Components
  2. Namespaces and Schemas
    • The Relationship between Namespaces and Schemas
    • Target Namespaces
    • Namespace Declarations in Schema Documents
  3. Relating Instances to Schemas
    • The Relationship between Instances and Schemas
    • Schema Location Attributes
    • Other Methods of Specifying Schemas
  4. Element and Attribute Declarations
    • Global vs. Local Declarations
    • Declaring Types
    • Occurrence Constraints
    • Qualified vs. Unqualified Forms
    • Default and Fixed Values
  5. Simple Types
    • Simple Type Categories
    • Restricting Simple Types
    • Facets
    • Whitespace Processing
    • Built-In Simple Types
    • Union Types
    • List Types
  6. Complex Types
    • What are Complex Types?
    • Defining Complex Types
    • Creating Content Models
    • Using Attributes
  7. Schema Assembly
    • Schema Documents and Schemas
    • Includes
    • Imports
    • Redefines
    • Rules for Schema Assembly
  8. Deriving Complex Types
    • Why Derive Types?
    • Complex Type Extensions
    • Complex Type Restrictions
  9. Reusable Groups
    • Why Reusable Groups?
    • Named Model Groups
    • Attribute Groups
    • Reusable Groups vs. Complex Type Derivations
  10. Substitution Groups
    • Why Substitution Groups?
    • The Substitution Group Hierarchy
    • Declaring a Substitution Group
  11. Identity Constraints
    • Uniqueness Constraints
    • Key Constraints
    • Key References