Search
Plugins
>
XML 5.5.1
>
XMLElement
> replaceChild
Method replaceChild(
XMLNode
newNode,
XMLNode
oldNode
)
Replaces the child node oldChild with newChild in the list of children, and returns the oldChild node. If the newChild is already in the tree, it is first removed.
Returns
void
Arguments
Name
Type
Description
newNode
XMLNode
The replacement node
oldNode
XMLNode
The node to replace