Next / Previous / Contents / Shipman's homepage


Describes the Relax NG Compact Syntax, a schema language for specifying XML document types.

This publication is available in Web form and also as a PDF document. Please forward any comments to

This work is licensed under a Creative Commons BY-NC Creative Commons Attribution-NonCommercial 3.0 Unported License.

Table of Contents

1. What is RNC?
1.1. The schema wars
2. A small example
3. Named patterns: factoring the schema
4. The content patterns
5. The definition patterns
6. Organizing complex elements
7. The xsd: datatypes
7.1. The basic xsd: types
7.2. Parameters to the xsd: types
7.3. Regular expression syntax for xsd: