Method XmlNode():replaceChild() Foundation

Replaces a child node with another node.

Syntax
:replaceChild( <oOld>, <oNew> ) --> lSuccess
Parameters
<oOld>
The XmlNode() object that is to be replaced.
<oNew>
The XmlNode() object that replaces <oOld>.
Return

A logical value. The method returns .T. (true) if the child node is successfully replaced. Otherwise, .F. (false) is returned.

Description

The method :replaceChild() replaces a certain child node with another node.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.