Enumeration XmlNodeType (namespace: System.Xml) is used to specify the types of XML node.
XmlNodeType members:
XmlNodeType members:
- None --> This is returned by the XmlReader if a Read method has not been called.
- Element --> An element (for example,
- ).
- Attribute --> An attribute (for example, id='123' ).
- Text --> The text content of a node.
- CDATA --> A CDATA section (for example, )
- EntityReference --> A reference to an entity (for example, # ).
- Entity --> An entity declaration (for example, ).
- ProcessingInstruction --> A processing instruction (for example, )
- Comment --> A comment (for example, )
- Document --> A document object that, as the root of the document tree, provides access to the entire XML document.
- DocumentType --> for example,
- Notation --> for example,
- Whitespace --> White space between markup
- SignificantWhitespace --> White space between markup in a mixed content model or white space within the xml:space="preserve" scope
- EndElement --> for example,
- EndEntity
- XmlDeclaration --> for example,