EBNF Variant that Used to Define the XML Grammar
Jump to navigation
Jump to search
External
Internal
Overview
W3C uses an variant of the Extended Backus-Naur Form notation to express the formal grammar of XML.
Notation
Each rule in the grammar defines one of the symbols, in the form:
symbol ::= expression
More details about Backus-Naur Form are available here:
Literal strings are quoted.
Within the expression on the right-hand side of a rule, the following expressions are used to match strings of one or more characters:
#xN