uxml.h File Reference


Detailed Description

Micro XML stream parser.

 * $Id: uxml.h,v 1.1 2008/02/15 16:45:41 haraldkipp Exp $
 * 

Definition in file uxml.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
typedef struct _UXML_NODE UXML_NODE

Functions

UXML_NODEUxmlParseStream (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_NODEUxmlTreeAddSibling (UXML_NODE *node, UXML_NODE *sibling)
 Add a sibling to the specified node.
UXML_NODEUxmlTreeAddChild (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_NODEUxmlNodeCreate (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.


Typedef Documentation

typedef struct _UXML_ATTRIB UXML_ATTRIB

typedef struct _UXML_NODE UXML_NODE


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/