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
| Name | Value | Description |
|---|---|---|
None | 0 | No node returned, or the reader has not yet read anything. |
Element | 1 | An element start tag. |
Attribute | 2 | An attribute. |
Text | 3 | The text content of a node. |
CDATA | 4 | A CDATA section. |
EntityReference | 5 | A reference to an entity. |
Entity | 6 | An entity declaration. |
ProcessingInstruction | 7 | A processing instruction. |
Comment | 8 | A comment. |
Document | 9 | The document root that contains the whole tree. |
DocumentType | 10 | A document type declaration. |
DocumentFragment | 11 | A document fragment. |
Notation | 12 | A notation in a document type declaration. |
Whitespace | 13 | Whitespace between markup. |
SignificantWhitespace | 14 | Whitespace between markup in a mixed content model, or within an xml:space="preserve" scope. |
EndElement | 15 | An element end tag. |
EndEntity | 16 | The end of an included entity. |
XmlDeclaration | 17 | The XML declaration. |