Optional
onOptional
scriptingThe scripting flag. If set
to true
, noscript
element content will be parsed as text.
Optional
sourceEnables source code location information. When enabled, each node (except the root node)
will have a sourceCodeLocation
property. If the node is not an empty element, sourceCodeLocation
will
be a ElementLocation object, otherwise it will be Location.
If the element was implicitly created by the parser (as part of
tree correction),
its sourceCodeLocation
property will be undefined
.
Optional
treeSpecifies the resulting tree format.
Callback for parse errors.