Method

PurpleXmlNodeset_attrib_full

since: 3.0

Declaration [src]

void
purple_xmlnode_set_attrib_full (
  PurpleXmlNode* node,
  const char* attr,
  const char* xmlns,
  const char* prefix,
  const char* value
)

Description [src]

Sets a namespaced attribute for a node.

Available since: 3.0

Parameters

attr

Type: const char*

The name of the attribute to set.

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

Type: const char*

The namespace of the attribute to set.

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

Type: const char*

The prefix of the attribute to set.

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

Type: const char*

The value of the attribute.

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