xml.DomNode.replaceChild
Replaces an existing child DomNode with another child DomNode object.
Syntax
replaceChild(
newChild xml.DomNode,
oldChild xml.DomNode )
- newChild defines the replacement child.
- oldChild defines the child to be replaced.
Usage
Use this method to replace an existing child DomNode with another child DomNode
object, where
oldChild is the child to be replaced and newChild is the
replacement child.
In case of error, the method throws an exception and sets the
STATUS
variable. Depending on the error, a human-readable description of the
problem is available in the SQLCA.SQLERRM
register. See Error handling in GWS calls (STATUS).