NodeType element node is 1, attribute node is 2, text node is 3, comment node is 8,document is 9,documentFragment is 11 nodeName element nodeName is uppercase, Document is not an element node, it is a separate node, document.nodename is #document
NodeValue element nodes do not have the nodeValue attribute. NodeValue is writable, and attributes, comments, and text are available
Attributes (same as getAttributeNode)
elem.hasChildNodes