See more RELAX NG articles on AOD.

Powered by
Share this page on
Article provided by Wikipedia

Main article: "XML schema languages

Although the RELAX NG specification was developed at roughly the same time as the W3C "XML Schema specification, the latter was arguably better known and more widely implemented in both open-source and proprietary XML parsers and editors when it became a W3C Recommendation in 2001. Since then, however, RELAX NG support has increasingly found its way into XML software, and its acceptance has been aided by its adoption as a primary schema for popular document-centric markup languages such as "DocBook, the "TEI Guidelines, "OpenDocument, and "EPUB.

RELAX NG shares with W3C XML Schema many features that set both apart from traditional "DTDs: "data typing, "regular expression support, "namespace support, ability to reference complex definitions.

Filename extensions[edit]

By informal convention, RELAX NG schemas in the regular syntax are typically named with the "filename extension ".rng". For schemas in the compact syntax, the extension ".rnc" is used.

See also[edit]


  1. ^ RELAX NG Compact Syntax
  2. ^ James Clark. "TREX - Tree Regular Expressions for XML - "TREX has been merged with RELAX to create RELAX NG."". Retrieved 2009-12-28. 
  3. ^ Murata Makoto (2002-04-03). "RELAX (Regular Language description for XML) -- "RELAX NG of OASIS. It is a schema language created by unifying RELAX Core and TREX."". Retrieved 2009-12-28. 
  4. ^ "TREX and RELAX Unified as RELAX NG, a Lightweight XML Language Validation Specification.". Cover Pages. 2001-06-05. Retrieved 2009-12-28. 
  5. ^ RELAX NG Specification
  6. ^ RELAX NG Technical Committee
  7. ^ ISO. "ISO/IEC 19757-2:2003 - Information technology -- Document Schema Definition Language (DSDL) -- Part 2: Regular-grammar-based validation -- RELAX NG". ISO. Retrieved 2009-12-28. 

External links[edit]

) )