add_child


Description:

public unowned XmlNode add_child (string tag)

Adds a new node to the given parent node; to create the top-level node, parent should be null.

Parameters:

this

parent XmlNode, or null for the top-level node

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 RestXmlCreator.