public replaceChild(newChild as Node, oldChild as Node) as Node throws DOMException:
Performs a DOM operation.