nodereplacechild01
IBM
The method replaceChild replaces the child node oldChild with newChild in the list of
children, and returns the oldChild node.
Using replaceChild on this Document node attempt to replace this Document node with itself
and verify if a HIERARCHY_REQUEST_ERR error or a NOT_FOUND_ERR (since oldChild
is not a child of this node) is thrown.
Neil Delima
2002-06-10