The old child node is replaced with a new node.
Example using replaceChildNode():
nodRef = nodMyNode.replaceChildNode(nodChild, nodNew)
Parameter
Description
nodChild
A node that exists as a child
nodNew
The new node to replace the child