This 2 day XML Schema training class teaches XML developers how to use XML Schema to define the structure of XML languages and how to validate XML documents against XML schemas.
Goals
- Learn the purpose and power of XML Schema
- Learn to declare simple-type and complex-type elements
- Learn to derive custom types
- Learn to declare attributes
- Learn to annotate schemas
- Learn to understand namespaces
- Learn to work with multiple XML schema documents
Outline
- XML Schema Basics
- The Purpose of XML Schema
- The Power of XML Schema
- A First Look
- A Simple XML Schema
- Validating an XML Instance Document
- Simple-Type Elements
- Overview
- Built-in Simple Types
- 19 Primitive Data Types
- Built-in Derived Data Types
- Defining a Simple-type Element
- User-derived Simple Types
- Applying Facets
- Controlling Length
- Specifying Patterns
- Working with Numbers
- Enumerations
- Whitespace-handling
- Specifying Element Type Locally
- Nonatomic Types
- Lists
- Unions
- Declaring Global Simple-Type Elements
- Global vs. Local Simple-Type Elements
- Default Values
- Fixed Values
- Nil Values
- Complex-Type Elements
- Overview
- Content Models
- xs:sequence
- xs:all
- xs:choice
- Complex Model Groups
- Occurrence Constraints
- Declaring Global Complex-Type Elements
- Mixed Content
- Defining Complex Types Globally
- Attributes
- Overview
- Empty Elements
- Adding Attributes to Elements with Complex Content
- Adding Attributes to Elements with Simple Content
- Restricting Attribute Values
- Default and Fixed Values
- Default Values
- Fixed Values
- Requiring Attributes
- Reusing Schema Components
- Overview
- Groups
- Element Groups
- Attribute Groups
- Extending Complex Types
- Tying It All Together
- Workshop: Creating and reusing XML schemas
- Annotating XML Schemas
- Overview
- Annotating a Schema
- Transforming an XML Schema for Documentation
- Namespaces
- Overview
- Purpose of Namespaces
- Target Namespaces
- Default Namespaces
- Locally Declared Elements and Attributes
- Qualified Locals
- The XMLSchema-instance Namespace
- Using Multiple Namespaces
To Hire an AMS XML Developer Subject Matter Expert and Instructor who also teaches this class, call us today at 800-798-3901!