The xml tool project provides developers
functions that uses the libxml2 library.
It provides an easy way to input and
output configurations from/to xml files
and handlers to deal with small or big xml databases.
|
Enumerations |
enum | returns {
N_MAP_UNEXIST = -4,
PARENT_UNEXIST = -3,
CHILD_UNEXIST = -2,
INCORRECT_INPUT = -1,
NO_ERROR = 0,
CHILD_EXISTS = 1,
PARENT_EXISTS = 2,
FILE_UNEXIST = 3,
NODE_SAME_CONTENT = 4
} |
Functions |
void | Xmltool_Perror (char *message) |
void | Xmltool_SetError (int source) |
void | Xmltool_GetError (int *destination) |
int | Xmltool_WriteToXml (char *filename, char *parent_name, char *node_name, char *node_info) |
char * | Xmltool_ReadFromXml (char *filename, char *parent_name, char *child_name) |
int | Xmltool_EditToXml (char *filename, char *parent_name, char *node_name, char *node_info) |
int | Xmltool_RemoveFromXml (char *filename, char *parent_name, char *child_name) |
int | Xmltool_GetXmlDesc (char *filename) |
int | Xmltool_MAddXml (char *filename) |
node_map * | Xmltool_MReadXml (char *filename, char *parent_node, char *node_name, char *content) |
void | Xmltool_Clean () |
This file contains the main functions used for xml handling.