#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "dancer-xml.h"
Functions | |
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. | |
static dxml_element * | dxml_get_element_bysimplepath_internal (dxml_element *e, char *path) |
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. | |
char * | dxml_get_PCDATA_bysimplepath (dxml_element *e, const char *path) |
Obtain the PCDATA specified with a simple path, using name/name/name notation. | |
static void | space (int i) |
static void | recurse_attribute (dxml_attribute *a) |
static void | recurse_element (dxml_element *e, int level) |
void | dxml_dump_element (dxml_element *e) |
For debug, dump the element contents. |
|
For debug, dump the element contents.
|
|
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
|
|
|
|
|
|
|