XmlOptions interface

Options to govern behavior of xml parser and builder.

Properties

cdataPropName

property name for a CDATA section.

includeRoot

indicates whether the root element is to be included or not in the output when parsing XML.

rootName

indicates the name of the root element in the resulting XML when building XML.

stopNodes

XML nodes to exclude from parsing.

xmlCharKey

key used to access the XML value content when parsing XML.

Property Details

cdataPropName

property name for a CDATA section.

cdataPropName?: string

Property Value

string

includeRoot

indicates whether the root element is to be included or not in the output when parsing XML.

includeRoot?: boolean

Property Value

boolean

rootName

indicates the name of the root element in the resulting XML when building XML.

rootName?: string

Property Value

string

stopNodes

XML nodes to exclude from parsing.

stopNodes?: string[]

Property Value

string[]

xmlCharKey

key used to access the XML value content when parsing XML.

xmlCharKey?: string

Property Value

string