Top | ![]() |
![]() |
![]() |
![]() |
xmlDocPtr | e_xml_parse_file () |
gint | e_xml_save_file () |
xmlNode * | e_xml_get_child_by_name () |
xmlDocPtr
e_xml_parse_file (const gchar *filename
);
Reads a local XML file and parses the contents into an XML document
structure. If the XML file cannot be read or its contents are malformed,
the function returns NULL
.
gint e_xml_save_file (const gchar *filename
,xmlDocPtr doc
);
Writes the given XML document structure to the file given by filename
.
If an error occurs while saving, the function returns -1 and sets errno.