#include <stdio.h>
Data Structures | |
struct | dxml_attribute |
Structure representing attributes within element. More... | |
struct | dxml_element |
Structure holding PCDATA or ELEMENT. More... | |
Functions | |
dxml_element * | dxml_read_xml (FILE *f) |
Read the XML file and load it as the element structure. | |
dxml_element * | dxml_next_notPCDATA (dxml_element *e) |
Obtain the next non-PCDATA, i.e. | |
dxml_element * | dxml_get_element_byname (dxml_element *e, const char *name) |
Get the pointer to element by name. | |
dxml_element * | dxml_get_element_bysimplepath (dxml_element *e, const char *path) |
Get the pointer to element by a simple path, using name/name/name notation. | |
void | dxml_dump_element (dxml_element *e) |
For debug, dump the element contents. | |
char * | dxml_get_PCDATA_bysimplepath (dxml_element *e, const char *path) |
Obtain the PCDATA specified with a simple path, using name/name/name notation. | |
void | dxml_free_xml (dxml_element *e) |
free the allocated xml structure |
|
For debug, dump the element contents.
|
|
free the allocated xml structure
|
|
Get the pointer to element by name.
|
|
Get the pointer to element by a simple path, using name/name/name notation.
|
|
Obtain the PCDATA specified with a simple path, using name/name/name notation.
|
|
Obtain the next non-PCDATA, i.e. element
|
|
Read the XML file and load it as the element structure.
|