Method XmlNode():addChild() Foundation
Adds a child node.
:addChild( oChild ) --> self
:addChild() returns the object executing the method.
The method :addChild() adds a node object as a new child node. The method can be used to programatically construct even complex XML documents comfortably.
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.