Click or drag to resize
XmlNodeType Enumeration
Specifies the type of node.

Namespace: System.Xml
Assembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax
C#
public enum XmlNodeType
Members
  Member nameValueDescription
None0 This is returned by the System.Xml.XmlReader if a Read method has not been called.
Element1An element (for example, <item> ).
Attribute2 An attribute (for example, id='123' ).
Text3 The text content of a node.
CDATA4 A CDATA section (for example, my escaped text ).
EntityReference5A reference to an entity (for example, &num; ).
Entity6An entity declaration (for example, <!ENTITY...> ).
ProcessingInstruction7 A processing instruction (for example, ).
Comment8 A comment (for example, ).
Document9 A document object that, as the root of the document tree, provides access to the entire XML document.
DocumentType10The document type declaration, indicated by the following tag (for example, <!DOCTYPE...> ).
DocumentFragment11 A document fragment.
Notation12A notation in the document type declaration (for example, <!NOTATION...> ).
Whitespace13 White space between markup.
SignificantWhitespace14 White space between markup in a mixed content model or white space within the xml:space="preserve" scope.
EndElement15An end element tag (for example, </item> ).
EndEntity16 Returned when XmlReader gets to the end of the entity replacement as a result of a call to System.Xml.XmlReader.ResolveEntity().
XmlDeclaration17The XML declaration (for example, <?xml version='1.0'?> ).
See Also