Skip to main content

XmlNodeType Enum

NuGet: GHIElectronics.TinyCLR.System.Xml
Assembly: GHIElectronics.TinyCLR.System.Xml
Namespace: System.Xml

Node kinds in an XML document. Same values as .NET's System.Xml.XmlNodeType.

public enum XmlNodeType

Fields

NameValueDescription
None0No node returned, or the reader has not yet read anything.
Element1An element start tag.
Attribute2An attribute.
Text3The text content of a node.
CDATA4A CDATA section.
EntityReference5A reference to an entity.
Entity6An entity declaration.
ProcessingInstruction7A processing instruction.
Comment8A comment.
Document9The document root that contains the whole tree.
DocumentType10A document type declaration.
DocumentFragment11A document fragment.
Notation12A notation in a document type declaration.
Whitespace13Whitespace between markup.
SignificantWhitespace14Whitespace between markup in a mixed content model, or within an xml:space="preserve" scope.
EndElement15An element end tag.
EndEntity16The end of an included entity.
XmlDeclaration17The XML declaration.