Table of Contents

Enum NodeType

Namespace
DotNetBrowser.Dom
Assembly
DotNetBrowser.dll

Represents the node types that can be used to distinguish different kind of nodes (such as an HTML element, text, attribute) from each other.

public enum NodeType

Fields

AttributeNode = 2

An attribute of the HTML element.

CDataSectionNode = 4

A [CDATA] section.

CommentNode = 6

A content between the <!-- and --> statements.

DocumentFragmentNode = 9

A segment of the document structure.

DocumentNode = 7

A document node.

DocumentTypeNode = 8

A document type node. For example, <!DOCTYPE html> for HTML5 documents.

ElementNode = 1

An element node, such as <p> or <div>.

ProcessingInstructionsNode = 5

A ProcessingInstruction of an XML document such as <?xml-stylesheet ... ?> declaration.

TextNode = 3

The actual text of the HTML element or the attribute.