Represents the node types that can be used to distinguish different kind of nodes
(such as an HTML element, text, attribute) from each other.
Namespace:
DotNetBrowser.Dom
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.16.1
Syntax Members
| Member name | Value | Description |
---|
| Unknown | 0 |
Unknown node type.
|
| ElementNode | 1 |
An element node, such as `<p>` or `<div>`.
|
| AttributeNode | 2 |
An attribute of the HTML element.
|
| TextNode | 3 |
The actual text of the HTML element or the attribute.
|
| CDataSectionNode | 4 |
A [CDATA] section.
|
| EntityReferenceNode | 5 |
An XML entity reference node.
|
| EntityNode | 6 |
An XML <!ENTITY ...> node.
|
| ProcessingInstructionsNode | 7 |
A ProcessingInstruction of an XML document such as <?xml-stylesheet ... ?>
declaration.
|
| CommentNode | 8 |
The content between between the <!-- and --> statements.
|
| DocumentNode | 9 |
The document node.
|
| DocumentTypeNode | 10 |
The document type node. For example, <!DOCTYPE html> for HTML5 documents.
|
| DocumentFragmentNode | 11 |
A segment of the document structure.
|
| NotationNode | 12 |
An XML <!NOTATION ...> node.
|
| XPathNamespaceNode | 13 |
An XPath namespace node.
|
| ShadowRootNode | 14 |
A shadow root node.
|
See Also