Static
nodeType
nodeType: {
ATTRIBUTE: number;
CDATA_SECTION: number;
COMMENT: number;
DOCUMENT: number;
DOCUMENT_FRAGMENT: number;
DOCUMENT_TYPE: number;
ELEMENT: number;
ENTITY: number;
ENTITY_REFERENCE: number;
NOTATION: number;
PROCESSING_INSTRUCTION: number;
TEXT: number;
} = ...
Type declaration
ATTRIBUTE: number
CDATA_SECTION: number
COMMENT: number
DOCUMENT: number
DOCUMENT_FRAGMENT: number
DOCUMENT_TYPE: number
ELEMENT: number
ENTITY: number
ENTITY_REFERENCE: number
NOTATION: number
PROCESSING_INSTRUCTION: number
TEXT: number
DOM Level 2 node type magic numbers