Add a new child node to this node at the end of the list of children, returning newChild. If the node was already in the tree, it is removed first.
xml.dom/Node.appendChild
Node.appendChild