Method

PurpleXmlNodeget_child_with_namespace

unstable since: 3.0

Declaration [src]

PurpleXmlNode*
purple_xmlnode_get_child_with_namespace (
  const PurpleXmlNode* parent,
  const char* name,
  const char* xmlns
)

Description [src]

Gets a child node named name in a namespace.

Available since: 3.0

Parameters

name

Type: const char*

The child’s name.

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

Type: const char*

The namespace.

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

Return value

Type: PurpleXmlNode

The child or NULL.

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