| Top |
| XMLNode * | ibus_xml_copy () |
| XMLNode * | ibus_xml_parse_file () |
| XMLNode * | ibus_xml_parse_buffer () |
| void | ibus_xml_free () |
| void | ibus_xml_output () |
XMLNode *
ibus_xml_copy (const XMLNode *node);
Creates a copy of node
, which should be freed with
ibus_xml_free(). Primarily used by language bindings,
not that useful otherwise (since node
can just be copied
by assignment in C).
the newly allocated IBusXML, which should
be freed with ibus_xml_free(), or NULL
if node
was NULL.
XMLNode *
ibus_xml_parse_file (const gchar *name);
Parse an XML file and return a corresponding XML tree.
XMLNode *
ibus_xml_parse_buffer (const gchar *buffer);
Parse a string buffer which contains an XML-formatted string, and return a corresponding XML tree.
void ibus_xml_output (const XMLNode *node,GString *output);
Output an XML tree to a GString.