Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

RELAX NG

< >

RELAX NG is a grammar language created in 2001.

#794on PLDB 23Years Old
Homepage · Wikipedia

In computing, RELAX NG (REgular LAnguage for XML Next Generation) is a schema language for XML - a RELAX NG schema specifies a pattern for the structure and content of an XML document. A RELAX NG schema is itself an XML document but RELAX NG also offers a popular compact, non-XML syntax. Compared to other XML schema languages RELAX NG is considered relatively simple. Read more on Wikipedia...


Example from the web:
# A RELAX NG compact syntax pattern # for an address book. element addressBook { # an entry in the address book element card { element name { text }, element email { text } # an email address }* }

Language features

Feature Supported Example Token
Line Comments
# A comment
#
Comments
# Comments start with a # and continue to the end of the line:
Semantic Indentation X

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll