![]() |
<libroxml
version="2.2.1"
/>
|
#include <roxml-types.h>
Data Fields | |
| unsigned short | type |
| union { | |
| char * buf | |
| FILE * fil | |
| void * src | |
| } | src |
| unsigned long | pos |
| unsigned long | end |
| struct node * | sibl |
| struct node * | chld |
| struct node * | prnt |
| struct node * | attr |
| struct node * | next |
| struct node * | ns |
| void * | priv |
node_t structure
This is the structure for a node. This struct is very little as it only contains offset for node in file and tree links
Definition at line 143 of file roxml-types.h.
| struct node* node_t::attr |
ref to attribute
Definition at line 155 of file roxml-types.h.
| char* node_t::buf |
buffer address
Definition at line 146 of file roxml-types.h.
| struct node* node_t::chld |
ref to chld
Definition at line 153 of file roxml-types.h.
| unsigned long node_t::end |
offset of begining of closing node in file
Definition at line 151 of file roxml-types.h.
| FILE* node_t::fil |
loaded document
Definition at line 147 of file roxml-types.h.
| struct node* node_t::next |
ref to last chld (internal use)
Definition at line 156 of file roxml-types.h.
| struct node* node_t::ns |
ref to namespace definition
Definition at line 157 of file roxml-types.h.
| unsigned long node_t::pos |
offset of begining of opening node in file
Definition at line 150 of file roxml-types.h.
| void* node_t::priv |
ref to xpath tok (internal use) or alias for namespaces
Definition at line 158 of file roxml-types.h.
| struct node* node_t::prnt |
ref to parent
Definition at line 154 of file roxml-types.h.
| struct node* node_t::sibl |
ref to brother
Definition at line 152 of file roxml-types.h.
| void* node_t::src |
xml src address
Definition at line 148 of file roxml-types.h.
| union { ... } node_t::src |
xml tree source
| unsigned short node_t::type |
document or buffer / attribute or value
Definition at line 144 of file roxml-types.h.
1.8.1