RELAX NG: The complete course
Abstract
Detailed technical coverage of RELAX NG. It provides attendees with a solid understanding of the components of RELAX NG schemas, and how to combine them to describe the structure of XML documents. Emphasis will be on the core features: elements and attributes, reusable definitions, assembling schema documents and namespaces. The compact syntax is also covered.
Duration
2 days
Schedule
To schedule a class, please contact us at pwalmsley@datypic.com.
Topics covered
- RELAX NG: An Overview
- The Purpose of schemas
- Schema languages
- Schema design
- A simple RELAX NG schema example
- Schema components
- Elements and attributes
- Declaring elements
- Declaring attributes
- Content models
- Cardinalities (
zeroOrMore
,oneOrMore
,optional
) - Groups
- Choices
- Empty content
- Mixed content
- Interleaving
- Cardinalities (
- Datatyping
- The
data
element - Using the XSD built-in types
- Enumerations
- The
- Lists
- The
list
element - Cardinality and lists
- The
- Named patterns
- The
start
element - The
define
element - Recursive references
- Best practices for using named patterns
- The
- Schema assembly
- Referencing external patterns
- Combining definitions
- Including other schemas
- Overriding other schemas
- Using
parentRef
- Using namespaces
- The
ns
element - Using qualified names
- The
- Name classes
- The
anyName
element - Constraining on namespace
- Using
except
- The
- Documenting your schema
- Using other namespace elements
- Using
div
elements
- RELAX NG compact syntax