
Introduction to XML Schema
Course Length: 2 days
Delivery Methods:
Multiple delivery options
Course Overview
This 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.
Course Benefits
- 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
Available Delivery Methods
Public Class
Public expert-led online training from the convenience of your home, office or anywhere with an internet connection. Guaranteed to run .
Public expert-led online training from the convenience of your home, office or anywhere with an internet connection. Guaranteed to run .
Private Class
Private classes are delivered for groups at your offices or a location of your choice.
Private classes are delivered for groups at your offices or a location of your choice.
Course 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
Class Materials
Each student will receive a comprehensive set of materials, including course notes and all the class examples.
Class Prerequisites
Experience in the following is required for this XML class:
- Basic XML
Prerequisite Courses
Courses that can help you meet these prerequisites:
Follow-on Courses
Register for a Live Class
$1,090.00
Request a Private Class
- Private Class for your Team
- Online or On-location
- Customizable
- Expert Instructors