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]
Node
, Namespace
), 0 root (—), 0 top (—), 0 bottom (—).[root]
, [document]
, [namespace]
3, [name]
3, [text]
5, [attribute]
, [children]
, [element]
, [charData]
, [cdata]
, [comment]
, [target]
, [pi]
, [entityRef]
, [code]
, [charRef]
, [prefix]
, [uri]
, [none]
.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]::ε