7 * @brief A simple and fast XML parser
8 * @addtogroup Efreet_Xml Efreet_Xml: An XML parser
14 * Efreet_Xml_Attributes
16 typedef struct Efreet_Xml_Attribute Efreet_Xml_Attribute;
19 * Efreet_Xml_Attributes
20 * @brief Contains information about a given XML attribute
22 struct Efreet_Xml_Attribute
24 const char *key; /**< The attribute key */
25 const char *value; /**< The attribute value */
31 typedef struct Efreet_Xml Efreet_Xml;
35 * @brief Contains the XML tree for a given XML document
39 const char *text; /**< The XML text for this node */
40 const char *tag; /**< The tag for this node */
42 Efreet_Xml_Attribute **attributes; /**< The attributes for this node */
44 Eina_List *children; /**< Child nodes */
47 int efreet_xml_init(void);
48 void efreet_xml_shutdown(void);
50 Efreet_Xml *efreet_xml_new(const char *file);
51 void efreet_xml_del(Efreet_Xml *xml);
53 const char *efreet_xml_attribute_get(Efreet_Xml *xml, const char *key);