NodeType
Overview
NodeType is a class in Aspose.Html FOSS for Python.
Integer constants for the node_type property of DOM nodes.
Properties: ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, and 3 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ELEMENT_NODE | int | Read | Gets the element node. |
ATTRIBUTE_NODE | int | Read | Gets the attribute node. |
TEXT_NODE | int | Read | Gets the text node. |
CDATA_SECTION_NODE | int | Read | Gets the cdata section node. |
PROCESSING_INSTRUCTION_NODE | int | Read | Gets the processing instruction node. |
COMMENT_NODE | int | Read | Gets the comment node. |
DOCUMENT_NODE | int | Read | Gets the document node. |
DOCUMENT_TYPE_NODE | int | Read | Gets the document type node. |
DOCUMENT_FRAGMENT_NODE | int | Read | Gets the document fragment node. |