Method
RestXmlNodeadd_child
Declaration [src]
RestXmlNode*
rest_xml_node_add_child (
RestXmlNode* parent,
const char* tag
)
Description [src]
Adds a new node to the given parent node; to create the top-level node,
parent should be NULL
.
Parameters
tag |
const char* |
Name of the child node. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |
Return value
Returns: | RestXmlNode |
The newly added |
|
The data is owned by the instance. |