<libroxml  version="2.3.0" />
contact: tristan.lelong@libroxml.net
Data Fields
node_t Struct Reference

node_t structure More...

#include <roxml-types.h>

Data Fields

unsigned short type
 
union {
   char *   buf
 
   FILE *   fil
 
   void *   src
 
src
 
roxml_pos_t pos
 
roxml_pos_t end
 
struct node * sibl
 
struct node * chld
 
struct node * prnt
 
struct node * attr
 
struct node * next
 
struct node * ns
 
void * priv
 

Detailed Description

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 152 of file roxml-types.h.

Field Documentation

struct node* node_t::attr

ref to attribute

Definition at line 164 of file roxml-types.h.

char* node_t::buf

buffer address

Definition at line 155 of file roxml-types.h.

struct node* node_t::chld

ref to chld

Definition at line 162 of file roxml-types.h.

roxml_pos_t node_t::end

offset of begining of closing node in file

Definition at line 160 of file roxml-types.h.

FILE* node_t::fil

loaded document

Definition at line 156 of file roxml-types.h.

struct node* node_t::next

ref to last chld (internal use)

Definition at line 165 of file roxml-types.h.

struct node* node_t::ns

ref to namespace definition

Definition at line 166 of file roxml-types.h.

roxml_pos_t node_t::pos

offset of begining of opening node in file

Definition at line 159 of file roxml-types.h.

void* node_t::priv

ref to xpath tok (internal use) or alias for namespaces

Definition at line 167 of file roxml-types.h.

struct node* node_t::prnt

ref to parent

Definition at line 163 of file roxml-types.h.

struct node* node_t::sibl

ref to brother

Definition at line 161 of file roxml-types.h.

void* node_t::src

xml src address

Definition at line 157 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 153 of file roxml-types.h.