The XMLReader extension is an XML Pull parser. The reader acts as a cursor going forward on the document stream and stopping at each node on the way.
The number of attributes on the node
The base URI of the node
Depth of the node in the tree, starting at 0
Indicates if node has attributes
Indicates if node has a text value
Indicates if attribute is defaulted from DTD
Indicates if node is an empty element tag
The local name of the node
The qualified name of the node
The URI of the namespace associated with the node
The node type for the node
The prefix of the namespace associated with thenode
The text value of the node
The xml:lang scope which the node resides
No node type
Start element
Attribute node
Text node
CDATA node
Entity Reference node
Entity Declaration node
Processing Instruction node
Comment node
Document node
Document Type node
Document Fragment node
Notation node
Whitespace node
Significant Whitespace node
End Element
End Entity
XML Declaration node
Load DTD but do not validate
Load DTD and default attributes but do not validate
Load DTD and validate while parsing
Substitute entities and expand references