The Node interface
Has methods to give information about the node:
- getNodeValue, getNodeType, getNodeName, getAttributes
It primarily has methods to traverse the tree:
- getParentNode
- hasChildNodes (returns Boolean)
- getChildNodes (returns a NodeList)
- getFirstChild, getLastChild, getNextSibling, getPreviousSibling
And also methods to update the tree:
- insertBefore, appendChild, removeChild, replaceChild