public replaceChild(newChild as Node, oldChild as Node) as Node throws DOMException
Replaces one child node by another.
Removed child.
parent.replaceChild(newChild, oldChild)