RELAX NG Compact Syntax
The RELAX NG Compact Syntax is compact, non-XML syntax for RELAX NG. The following are available:
- a description of the syntax
- an example showing a schema for
RELAX NG's XML syntax written in the compact syntax (this is optimized
for readability in the compact syntax and is not simply a translation
of
relaxng.rng
)
The following tools provide support for the syntax:
- Jing will validate using
the compact syntax when the
-c
option is used
- Trang can translate schemas written in
the compact syntax; in particular, trang can be used to translate
schemas written in the compact syntax into the standard RELAX NG XML
syntax
This syntax is not a part of RELAX NG, and is not a product of the
OASIS RELAX NG TC. However, the OASIS RELAX NG TC have decided to
produce a compact syntax for RELAX NG, which I expect to be similar to
this syntax.
James Clark