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