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

NameTypeAccessDescription
ELEMENT_NODEintReadGets the element node.
ATTRIBUTE_NODEintReadGets the attribute node.
TEXT_NODEintReadGets the text node.
CDATA_SECTION_NODEintReadGets the cdata section node.
PROCESSING_INSTRUCTION_NODEintReadGets the processing instruction node.
COMMENT_NODEintReadGets the comment node.
DOCUMENT_NODEintReadGets the document node.
DOCUMENT_TYPE_NODEintReadGets the document type node.
DOCUMENT_FRAGMENT_NODEintReadGets the document fragment node.

See Also