Top |
GQuark | cd_dom_error_quark () |
CdDom * | cd_dom_new () |
gchar * | cd_dom_to_string () |
gboolean | cd_dom_parse_xml_data () |
const GNode * | cd_dom_get_node () |
const gchar * | cd_dom_get_node_name () |
const gchar * | cd_dom_get_node_data () |
gint | cd_dom_get_node_data_as_int () |
gdouble | cd_dom_get_node_data_as_double () |
const gchar * | cd_dom_get_node_attribute () |
gboolean | cd_dom_get_node_rgb () |
gboolean | cd_dom_get_node_yxy () |
gboolean | cd_dom_get_node_lab () |
GHashTable * | cd_dom_get_node_localized () |
#define | CD_DOM_ERROR |
#define | CD_DOM_TYPE_ERROR |
#define | CD_TYPE_DOM |
struct | CdDomClass |
CdDom |
gchar *
cd_dom_to_string (CdDom *dom
);
Returns a string representation of the DOM tree.
Since: 0.1.31
gboolean cd_dom_parse_xml_data (CdDom *dom
,const gchar *data
,gssize data_len
,GError **error
);
Parses data into a DOM tree.
Since: 0.1.31
const GNode * cd_dom_get_node (CdDom *dom
,const GNode *root
,const gchar *path
);
Gets a node from the DOM tree.
Since: 0.1.31
const gchar *
cd_dom_get_node_name (const GNode *node
);
Gets the node name, e.g. "body"
Since: 0.1.31
const gchar *
cd_dom_get_node_data (const GNode *node
);
Gets the node data, e.g. "paragraph text"
Since: 0.1.31
gint
cd_dom_get_node_data_as_int (const GNode *node
);
Gets the node data, e.g. 128
Since: 0.1.32
gdouble
cd_dom_get_node_data_as_double (const GNode *node
);
Gets the node data, e.g. 7.4
Since: 0.1.32
const gchar * cd_dom_get_node_attribute (const GNode *node
,const gchar *key
);
Gets a node attribute, e.g. "false"
Since: 0.1.31
gboolean cd_dom_get_node_rgb (const GNode *node
,CdColorRGB *rgb
);
Extracts a RGB color value from the DOM tree
Since: 0.1.31
gboolean cd_dom_get_node_yxy (const GNode *node
,CdColorYxy *yxy
);
Extracts a Yxy color value from the DOM tree
Since: 0.1.31
gboolean cd_dom_get_node_lab (const GNode *node
,CdColorLab *lab
);
Extracts a Lab color value from the DOM tree
Since: 0.1.31
GHashTable * cd_dom_get_node_localized (const GNode *node
,const gchar *key
);
Extracts localized values from the DOM tree
Since: 0.1.31