An introduction to NVDL, ISO 19757-4

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in Appendix C.

Revision History
Revision 0.22007-02-27T14:50:38.0ZDaveP
Initial Issue
Revision 0.32008-05-14T12:30:03ZDaveP
Added validate
Revision 0.42008-05-23T13:34:00ZDaveP
Further work. Glossary, processing, actions

Table of Contents

Preface
1. Background
2. NVDL basics
3. Using Modes
4. Instance patterns
5. Triggers
6. Syntax
7. Design Patterns in NVDL script
8. Rule Actions
9. Selective Validation
10. The NVDL processing model
11. schema Documentation
References
A. Glossary
B. NVDL Implementations
C. GNU Free Documentation License

List of Examples

2.1. A basic NVDL script
2.2. The schema for example 1
2.3. The xml instance for example 1
2.4. An XML instance using three namespaces
2.5. The three sections from Example 2.4
2.6. A possible schema for the full document
2.7. Importing schema
2.8. a reduced schema
2.9. The NVDL script for Example 2.4
3.1. Outline structure when using modes
3.2. A moded version of Example 2.9
5.1. A simple trigger example - the XML instance
5.2. A simple trigger example - the script
5.3. A simple trigger example - the schema used
6.1. Alternate schema usage
6.2. Nested modes
6.3. Wildcard example
6.4. Reduced script, using wildcards
8.1. One condition, two actions
8.2. The validate action
8.3. Passing parameters to a validator
9.1. A schema to enable a root element of div for xhtml. file xhtmldiv.rng
9.2. The NVDL script for XHTML embedded in Atom
9.3. An XML instance using this schema
9.4. validate and context combinations
10.1. The NVDL script demonstrating attach processing
10.2. Mixing validate and attach
10.3. Script using unwrap
10.4. Script for case 5, mixed validate and unwrap
10.5. Script using validate, unwrap and attach
10.6. A null action script
10.7. No validation, using unwrap
10.8. validate, unwrap and attach example
10.9. Combining sections