ibusxml
ibusxml — XML handling functions for IBus.
|
|
Stability Level
Stable, unless otherwise indicated
Description
IBusXML lists data structure and handling function for XML in IBus.
Functions
ibus_xml_parse_file ()
XMLNode *
ibus_xml_parse_file (const gchar *name
);
Parse an XML file and return a corresponding XML tree.
Returns
Root node of parsed XML tree.
ibus_xml_parse_buffer ()
XMLNode *
ibus_xml_parse_buffer (const gchar *buffer
);
Parse a string buffer which contains an XML-formatted string,
and return a corresponding XML tree.
Returns
Root node of parsed XML tree.
ibus_xml_free ()
void
ibus_xml_free (XMLNode *node
);
Free an XML tree.
ibus_xml_output ()
void
ibus_xml_output (const XMLNode *node
,
GString *output
);
Output an XML tree to a GString.
Types and Values
XMLNode
typedef struct {
gchar *name;
gchar *text;
gchar **attributes;
GList *sub_nodes;
} XMLNode;
A data type representing an XML nod.