XmlNodeType
Specifies the type of node.
Attribute = 2
An attribute (for example, id='123' ).
CDATA = 4
A CDATA section (for example, <![CDATA[my escaped text]]> ).
Comment = 8
A comment (for example, <!-- my comment --> ).
Document = 9
A document object that, as the root of the document tree, provides access to the entire XML document.
DocumentFragment = 11
A document fragment.
DocumentType = 10
The document type declaration, indicated by the following tag (for example, <!DOCTYPE...> ).
Element = 1
An element (for example, <item> ).
EndElement = 15
An end element tag (for example, </item> ).
EndEntity = 16
Returned when XmlReader gets to the end of the entity replacement as a result of a call to ResolveEntity.
Entity = 6
An entity declaration (for example, <!ENTITY...> ).
EntityReference = 5
A reference to an entity (for example, # ).
None = 0
This is returned by the XmlReader if a Read method has not been called.
Notation = 12
A notation in the document type declaration (for example, <!NOTATION...> ).
A processing instruction (for example, <?pi test?> ).
White space between markup in a mixed content model or white space within the xml:space="preserve" scope.
Text = 3
The text content of a node.
Whitespace = 13
White space between markup.
XmlDeclaration = 17
The XML declaration (for example, <?xml version='1.0'?> ).