Node Types

See also

XMLNodeType

Attributes

pugi.NODE_CDATA = 4

Character data, i.e. ‘<![CDATA[text]]>’

pugi.NODE_COMMENT = 5

Comment tag, i.e. ‘<!– text –>’

pugi.NODE_DECLARATION = 7

Document declaration, i.e. ‘<?xml version=”1.0”?>’

pugi.NODE_DOCTYPE = 8

Document type declaration, i.e. ‘<!DOCTYPE doc>’

pugi.NODE_DOCUMENT = 1

A document tree’s absolute root.

pugi.NODE_ELEMENT = 2

Element tag, i.e. ‘<node/>’

pugi.NODE_NULL = 0

Empty (null) node handle.

pugi.NODE_PCDATA = 3

Plain character data, i.e. ‘text’

pugi.NODE_PI = 6

Processing instruction, i.e. ‘<?name?>’