Micro XML stream parser. More...
#include <stdio.h>
Go to the source code of this file.
Data Structures | |
struct | _UXML_ATTRIB |
Linked list of XML attributes. More... | |
struct | _UXML_NODE |
Linked list of XML nodes. More... | |
Typedefs | |
typedef struct _UXML_ATTRIB | UXML_ATTRIB |
Linked list of XML attributes. | |
typedef struct _UXML_NODE | UXML_NODE |
Linked list of XML nodes. | |
Functions | |
UXML_NODE * | UxmlParseStream (FILE *stream, char **f_tags, char **f_attribs) |
Parse XML stream. | |
char * | UxmlParseTag (char *data, char *tkn, size_t size) |
Retrieve the next token from an XML tag. | |
UXML_NODE * | UxmlTreeAddSibling (UXML_NODE *node, UXML_NODE *sibling) |
Add a sibling to the specified node. | |
UXML_NODE * | UxmlTreeAddChild (UXML_NODE *node, UXML_NODE *child) |
Add a child to the specified node. | |
void | UxmlTreeDestroy (UXML_NODE *node) |
Release all memory of an XML tree structure. | |
UXML_NODE * | UxmlNodeCreate (char *name) |
Allocate a new tree node. | |
int | UxmlNodeAddAttrib (UXML_NODE *node, char *name, char *value) |
Add an attribute to the specified node. | |
int | UxmlFilterMatch (char *name, char **filt) |
Check if name matches filter list. |
Micro XML stream parser.
* $Id: uxml.h 2023 2008-02-15 16:46:09Z haraldkipp $ *
Definition in file uxml.h.
typedef struct _UXML_ATTRIB UXML_ATTRIB |
Linked list of XML attributes.
typedef struct _UXML_NODE UXML_NODE |
Linked list of XML nodes.