Interface DomHandlerOptions

Hierarchy

  • DomHandlerOptions

Properties

withEndIndices?: boolean

Add an endIndex property to nodes. When the parser is used in a non-streaming fashion, endIndex is an integer indicating the position of the end of the node in the document.

Default

false

withStartIndices?: boolean

Add a startIndex property to nodes. When the parser is used in a non-streaming fashion, startIndex is an integer indicating the position of the start of the node in the document.

Default

false

xmlMode?: boolean

Treat the markup as XML.

Default

false