The DomNode class / xml.DomNode methods |
Replaces an existing child DomNode with another child DomNode object.
replaceChild( new xml.DomNode, old xml.DomNode )
Replaces an existing child DomNode with another child DomNode object, where old is the child to be replaced and new is the replacement child.
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.