RELAX NG

from Wikipedia, the free encyclopedia

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

Web links