XmlNodeType Enum

Specifies the node type in an XML document.

Usage

Use XMLNodeType enum with the getNodeType() method in the XmlNode class.

Enum Values

The following are the values of the Dom.XMLNodeType enum.

Value Description
COMMENT Dom node of type comment.
ELEMENT Dom node of type element.
TEXT Dom node of type text.