Constants in DOM Level 2 Core

name object value description
ATTRIBUTE_NODE Node 2
CDATA_SECTION_NODE Node 4
COMMENT_NODE Node 8
DOCUMENT_FRAGMENT_NODE Node 11
DOCUMENT_NODE Node 9
DOCUMENT_TYPE_NODE Node 10
DOMSTRING_SIZE_ERR DOMException 2
ELEMENT_NODE Node 1
ENTITY_NODE Node 6
ENTITY_REFERENCE_NODE Node 5
HIERARCHY_REQUEST_ERR DOMException 3
INDEX_SIZE_ERR DOMException 1
INUSE_ATTRIBUTE_ERR DOMException 10
INVALID_ACCESS_ERR DOMException 15
INVALID_CHARACTER_ERR DOMException 5
INVALID_MODIFICATION_ERR DOMException 13
INVALID_STATE_ERR DOMException 11
NAMESPACE_ERR DOMException 14
NO_DATA_ALLOWED_ERR DOMException 6
NO_MODIFICATION_ALLOWED_ERR DOMException 7
NOTATION_NODE Node 12
NOT_FOUND_ERR DOMException 8
NOT_SUPPORTED_ERR DOMException 9
PROCESSING_INSTRUCTION_NODE Node 7
SYNTAX_ERR DOMException 12
TEXT_NODE Node 3
WRONG_DOCUMENT_ERR DOMException 4