Navigation
Synopsis Datatypes for representing an instance of the DOM.
Types
data Node
     = document(Node root)
     | attribute(Namespace namespace, str name, str text)
	 | element(Namespace namespace, str name, list[Node] children)
	 | charData(str text)
	 | cdata(str text)
	 | comment(str text)
	 | pi(str target, str text)
	 | entityRef(str name)
	 | charRef(int code)
     ;
data Namespace 
     = namespace(str prefix, str uri)
     | none()
     ;
Usage import lang::xml::DOM;
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.