Replace an existing node with a new node. It must be the case that oldChild is a child of this node; if not, NotFoundErr is raised.
xml.dom/Node.replaceChild
Node.replaceChild