System::Xml::XmlNodeType enum
Contents
[
Hide
]XmlNodeType enum
Specifies the type of node.
enum class XmlNodeType
Values
Name | Value | Description |
---|---|---|
None | 0 | This is returned by the XmlReader if a Read method has not been called. |
Element | 1 | An element (for example, |
Attribute | 2 | An attribute (for example, id=‘123’). |
Text | 3 | The text content of a node. A XmlNodeType::Text node cannot have any child nodes. It can appear as the child node of the XmlNodeType::Attribute, XmlNodeType::DocumentFragment, XmlNodeType::Element, and XmlNodeType::EntityReference nodes. |
CDATA | 4 | A CDATA section (for example, my escaped text). |
EntityReference | 5 | A reference to an entity (for example, #). |
Entity | 6 | An entity declaration (for example, ). |
ProcessingInstruction | 7 | A processing instruction (for example, ). |
Comment | 8 | A comment (for example, ****). |
Document | 9 | A document object that, as the root of the document tree, provides access to the entire XML document. |
DocumentType | 10 | The document type declaration, indicated by the following tag (for example, ). |
DocumentFragment | 11 | A document fragment. |
Notation | 12 | A notation in the document type declaration (for example, ). |
Whitespace | 13 | White space between markup. |
SignificantWhitespace | 14 | White space between markup in a mixed content model or white space within the xml:space=“preserve” scope. |
EndElement | 15 | An end element tag (for example, ****). |
EndEntity | 16 | Returned when XmlReader gets to the end of the entity replacement as a result of a call to XmlReader::ResolveEntity. |
XmlDeclaration | 17 | The XML declaration (for example, ). The XmlNodeType::XmlDeclaration node must be the first node in the document. It cannot have children. It is a child of the XmlNodeType::Document node. It can have attributes that provide version and encoding information. |
See Also
- Namespace System::Xml
- Library Aspose.TeX for C++