XmlNodeType

The type of an XmlNode.

Values

ValueMeaning
None

Initial value. Never created during parsing.

Root

The root node. Contains top-level nodes as children.

Node

XML tag.

Comment

XML comment.

Meta

XML processing instruction.

DocType

XML doctype declaration.

CData

CDATA node.

Text

Text node.

Raw

Never created during parsing. Programs can put raw XML fragments in Raw nodes to emit it as-is.

Meta