DomNode- replace_child

( unknown )

DomNode- replace_child -- Replaces a child

Description

object DomNode- replace_child ( object oldnode, object newnode)

This function replaces the child oldnode with the passed new node . If the old node cannot be found the function returns false .

See also DomNode_append_child( )