<libroxml  version="2.2.1" />
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
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

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


Field Documentation

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.