Extracted from Pike v7.4 release 35 at 2003-12-09.
pike.ida.liu.se
[Top]
predef::
Parser
Parser.XML
Parser.XML.Tree
Parser.XML.Tree.AbstractNode

Method Parser.XML.Tree.AbstractNode()->replace_child()


Method replace_child

AbstractNode replace_child(AbstractNode old, AbstractNode new)

Description

Replaces the first occurrence of the old node child with the new node child. All parent references are updated.

Returns

Returns the new child node.