add_child
Description:
Adds a new node to the given parent node; to create the top-level node, parent should be null
.
Parameters:
this |
parent XmlNode, or |
tag |
name of the child node |
Returns:
the newly added XmlNode; the node object is owned by, and valid for the life time
of, the |