Adds attribute to the given node.
name of the attribute
value to set attribute to
Adds a new node to the given parent node; to create the top-level node,
parent should be null.
name of the child node
the newly added Rest.XmlNode; the node object is owned by, and valid for the life time of, the RestXmlCreator.
Searches for the first child node of start named tag.
the name of a node
the first child node, or null if it doesn't exist.
Get the value of the attribute named attr_name, or null if it doesn't
exist.
the name of an attribute
the attribute value. This string is owned by Rest.XmlNode and should not be freed.
Recursively outputs given node and it's children.
xml string representing the node.
Sets content for the given node.
the content
The Rest.XmlNode contains a parsed XmlNode for easy consumption