XmlDocument
Object Hierarchy:
Description:
[
CCode ( type_id =
"e_xml_document_get_type ()" ) ]
[
Version ( since =
"3.26" ) ]
public class XmlDocument :
Object
Contains only private data that should be read and manipulated using the functions below.
Content:
Creation methods:
Methods:
- public void add_attribute (string? ns_href, string name, string value)
Adds a new attribute to the current element.
- public void add_attribute_double (string? ns_href, string name, double value)
Adds a new attribute with a double value to the current element.
- public void add_attribute_int (string? ns_href, string name, int64 value)
Adds a new attribute with an integer value to the current element.
- public void add_attribute_time (string? ns_href, string name, time_t value)
Adds a new attribute with a time_t value in ISO 8601 format to the
current element.
- public void add_attribute_time_ical (string? ns_href, string name, time_t value)
Adds a new attribute with a time_t value in iCalendar format to the
current element.
- public void add_empty_element (string? ns_href, string name)
Adds an empty element, which is an element with no attribute and no
value.
- public void end_element ()
- public string get_content (out size_t out_length)
Gets content of the this as string.
- public unowned Doc get_xmldoc ()
- public void start_element (string? ns_href, string name)
Starts a new non-text element as a child of the current element.
- public void start_text_element (string? ns_href, string name)
Starts a new text element as a child of the current element.
- public void write_base64 (string value, int len)
Writes value of length len, encoded to
base64, as content of the current element.
- public void write_buffer (string value, int len)
Writes value of length len as content of the
current element.
- public void write_double (double value)
Writes value as content of the current element.
- public void write_int (int64 value)
Writes value as content of the current element.
- public void write_string (string value)
Writes value as content of the current element.
- public void write_time (time_t value)
Writes value in ISO 8601 format as content of the current
element.
Inherited Members:
All known members inherited from class GLib.Object