RELAX NG
The Regular Language Description for XML New Generation ( RELAX NG ) is an XML schema language for defining the structure of XML documents . RELAX-NG offers an XML syntax and semantically equivalent, more compact syntax for the formulation of schemas.
RELAX-NG is based on the XML schema languages RELAX by Makoto Murata (2000–2002) and TREX by James Clark (2001). RELAX Core was adopted as ISO / IEC Technical Report 22250-1.
RELAX NG is described in a document of the OASIS RELAX NG Technical Committee and also as an international standard ISO / IEC 19757-2 within the Document Schema Definition Languages (DSDL).
In terms of complexity, RELAX NG stands between DTD and XML schema . Compared to the simple DTD, RELAX NG has the main advantage of using (optionally) XML syntax and also supporting disordered content. It also knows data types and namespaces .
Examples of comparable languages are DSD and Schematron .
literature
- Eric van der Vlist: RELAX NG - a simpler schema language for XML . O'Reilly, ISBN 978-0-596-00421-7 .
Web links
- RELAX-NG website
- James Clark: The Design of RELAX NG (English)
- RELAX NG tutorial XML syntax (English)
- RELAX NG tutorial for the compact syntax (English)
- DSDL Part 2: Regular-grammar-based validation - RELAX NG (English)
- RELAX (core) website