add_attribute_time


Description:

public void add_attribute_time (string? ns_href, string name, long value)

Adds a new attribute with a time_t value in ISO 8601 format to the current element.

The format is "YYYY-MM-DDTHH:MM:SSZ". 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.

Parameters:

this

an XmlDocument

ns_href

optional namespace href for the new attribute, or null

name

name of the attribute

value

time_t value of the attribute




2022 vala-language.org