element: Node.ELEMENT_NODE(1) || someNode.nodetype == 1
attr: Node.ATTRIBUTE_NODE(2) || someNode.nodetype == 2
text: Node.TEXT_NODE(3) || someNode.nodetype == 3
CDATASection: Node.CDATA_SECTION_NODE(4) || someNode.nodetype == 4
entityReference: Node.ENTITY_REFERENCE_NODE(5) || someNode.nodetype == 5
entity: Node.ENTITY_NODE(6) || someNode.nodetype == 6
processionInstruction: Node.PROCESSION_INSTRUCTION_NODE(7) || someNode.nodetype == 7
comment: Node.COMMENT_NODE(8) || someNode.nodetype == 8
document: Node.DOCUMENT_NODE(9) || someNode.nodetype == 9
documentType: Node.DOCUMENT_TYPE_NODE(10) || someNode.nodetype == 10 (doctype)
documentFragment: Node.DOCUMENT_FRAGMENT_NODE(11) || someNode.nodetype == 11
notation: Node.NOTATION_NODE(12) || someNode.nodetype == 12