Method
EDataServerXmlDocumentadd_attribute
since: 3.26
Declaration [src]
void
e_xml_document_add_attribute (
EXmlDocument* xml,
const gchar* ns_href,
const gchar* name,
const gchar* value
)
Description [src]
Adds a new attribute to the current element. Use NULL ns_href, to use the default namespace, otherwise either previously
added namespace with the same href from e_xml_document_add_namespaces() is picked,
or a new namespace with generated prefix is added.
Available since: 3.26
Parameters
ns_href-
Type:
const gchar*Optional namespace href for the new attribute, or
NULL.The argument can be NULL.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. name-
Type:
const gchar*Name of the attribute.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. value-
Type:
const gchar*Value of the attribute.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.