getDOMRoot

Retrieve the DOM, if there is one.
The DOM has been added to the ParseData object so that downstream
plugins (such as ParseFilters and RecordGenerators) have access
to it.
Currently, the HTML parser is the only parser that generates
a DOM.

setDOMRoot

Set the DOM.
The DOM has been added to the ParseData object so that downstream
plugins (such as ParseFilters and RecordGenerators) have access
to it.
Currently, the HTML parser is the only parser that generates
a DOM.