Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

RELAX NG

< >

RELAX NG is a grammar language created in 2001.

#763on PLDB 23Years Old

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 Token Example
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 · Acknowledgements · Extensions · Day 630 · Donate · feedback@pldb.io