OptionalonCallback for parse errors.
OptionalscriptingThescripting flag. If settotrue,noscript element content will be parsed as text.
OptionalsourceEnables source code location information. When enabled, each node (except the root node)will have asourceCodeLocation property. If the node is not an empty element,sourceCodeLocation willbe aElementLocation object, otherwise it will be Location.If the element was implicitly created by the parser (as part oftree correction),itssourceCodeLocation property will beundefined.
OptionaltreeSpecifies the resulting tree format.