Top | ![]() |
![]() |
![]() |
![]() |
GdaXmlDocument * | gda_xml_document_new () |
void | gda_xml_document_construct () |
gint | gda_xml_document_get_compress_mode () |
void | gda_xml_document_set_compress_mode () |
gboolean | gda_xml_document_to_file () |
gchar * | gda_xml_document_stringify () |
GdaXmlDocument *
gda_xml_document_new (const gchar *root_doc
);
Creates a new GdaXmlDocument object, with a root document of type
root_doc
.
void gda_xml_document_construct (GdaXmlDocument *xmlfile
,const gchar *root_doc
);
gint
gda_xml_document_get_compress_mode (GdaXmlDocument *xmldoc
);
Returns the compression mode being used by the given XML document.
void gda_xml_document_set_compress_mode (GdaXmlDocument *xmldoc
,gint mode
);
Sets the compression mode that the given XML document should use.
gboolean gda_xml_document_to_file (GdaXmlDocument *xmldoc
,const gchar *uri
);
Saves the given GdaXmlDocument into a disk file. That is, it translates the in-memory document structure, transforms it to XML and saves, in the given file, the resulting XML output.