2.237 .nodetype
This attribute of the doccursor queries the type of the current DOM node.
Definition
-
Data type
enum
-
Access
get
Value range
- nodetype_attribute
-
The node is an attribute of an element.
- nodetype_cdata_section
-
The node is a section with unparsed character data (CDATA).
- nodetype_comment
-
The node is a comment.
- nodetype_document
-
The node is a complete document.
- nodetype_document_fragment
-
The node is a section of a document.
- nodetype_document_type
-
The node is a document type declaration.
- nodetype_element
-
The node is an element.
- nodetype_entity
-
The node is an entity declaration.
- nodetype_entity_reference
-
The node is a reference to a declared entity.
- nodetype_notation
-
The node is a notation declared in the DTD.
- nodetype_processing_instruction
-
The node is a processing instruction.
- nodetype_text
-
The node is the text content of an element or an attribute value.
Note