A node of the DOM tree.
A token provided to SAX handler callback.
The default DOM handler.
The default HTML parser options:
p
, li
, td
and others follow implicit end rules, so <p>foo<p>bar
is parsed as
<p>foo</p><p>bar</p>
;import {decodeHtml} from 'speedy-entities/lib/full';
createHtmlSaxParser({
decodeText: decodeHtml,
decodeAttribute: decodeHtml,
});
The default XML parser options:
Creates a new stateful DOM parser.
The type of object that describes a node in the DOM tree.
The type of object that describes an element or a document in the DOM tree.
The handler that provides factories and callbacks that produce the DOM tree.
The parser options.
The new parser that produces a DOM tree during parsing.
Creates a pre-configured HTML DOM parser that uses domHandler.
Creates a pre-configured HTML DOM parser.
The type of object that describes a node in the DOM tree.
The type of object that describes an element or a document in the DOM tree.
The parsing handler.
Options that override the defaults.
Creates a pre-configured HTML SAX parser.
The parsing handler.
Options that override the defaults.
Creates a new stateful SAX parser.
The parsing handler.
Parsing options.
Creates a pre-configured XML DOM parser that uses domHandler.
Creates a pre-configured XML DOM parser.
The parsing handler.
Options that override the defaults.
Creates a pre-configured XML SAX parser.
The parsing handler.
Options that override the defaults.
Generated using TypeDoc
The data node of the DOM tree.