by Eric van der Vlist is published by O'Reilly & Associates (ISBN: 0596004214)


First Schema

Table of Contents

3.1. Getting Started
3.2. First Patterns
3.2.1. The text Pattern
3.2.2. The attribute Pattern
3.2.3. The element Pattern
3.2.4. The optional Pattern
3.2.5. The oneOrMore Pattern
3.2.6. The zeroOrMore Pattern
3.3. Complete Schema
3.3.1. Constraining Number of Occurrences
3.3.2. Creating "Russian Doll" Schemas

Throughout the book, we will work with variations of a document that describes a library. For a first project, we will create a map from the document to the RELAX NG constructs that will create your first RELAX NG schema.


This text is released under the Free Software Foundation GFDL.