Browsable XML DOM Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: xmlware/xml/klint-vinju/extracted
Source used for this grammar: Paul Klint, Jurgen Vinju, lang::xml::DOM, 2012–2013 [GitHub]

Summary

Syntax

Node ::=
	[document]::[root]::Node
	[attribute]::([namespace]::Namespace [name]::string [text]::string)
	[element]::([namespace]::Namespace [name]::string [children]::Node*)
	[charData]::[text]::string
	[cdata]::[text]::string
	[comment]::[text]::string
	[pi]::([target]::string [text]::string)
	[entityRef]::[name]::string
	[charRef]::[code]::integer
Namespace ::=
	[namespace]::([prefix]::string [uri]::string)
	[none]::ε

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []