Method

PurpleXmlNodeget_data

unstable since: 3.0

Declaration [src]

char*
purple_xmlnode_get_data (
  const PurpleXmlNode* node
)

Description [src]

Gets (escaped) data from a node.

Available since: 3.0

Return value

Type: char*

The data from the node or NULL. This data is in raw escaped format. You must g_free this string when finished using it.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.