Method

RestXmlNodefind

Declaration [src]

RestXmlNode*
rest_xml_node_find (
  RestXmlNode* start,
  const gchar* tag
)

Description [src]

Searches for the first child node of start named tag.

Parameters

tag const gchar*
 

The name of a node.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.

Return value

Returns: RestXmlNode
 

The first child node, or NULL if it doesn’t exist.

 The caller of the method takes ownership of the data, and is responsible for freeing it.