<libroxml  version="3.0.2" />
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 133 of file roxml_types.h.

Field Documentation

◆ attr

struct node* node_t::attr

ref to attribute

Definition at line 145 of file roxml_types.h.

◆ buf

char* node_t::buf

buffer address

Definition at line 136 of file roxml_types.h.

◆ chld

struct node* node_t::chld

ref to chld

Definition at line 143 of file roxml_types.h.

◆ end

roxml_pos_t node_t::end

offset of begining of closing node in file

Definition at line 141 of file roxml_types.h.

◆ fil

FILE* node_t::fil

loaded document

Definition at line 137 of file roxml_types.h.

◆ next

struct node* node_t::next

ref to last chld (internal use)

Definition at line 146 of file roxml_types.h.

◆ ns

struct node* node_t::ns

ref to namespace definition

Definition at line 147 of file roxml_types.h.

◆ pos

roxml_pos_t node_t::pos

offset of begining of opening node in file

Definition at line 140 of file roxml_types.h.

◆ priv

void* node_t::priv

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

Definition at line 148 of file roxml_types.h.

◆ prnt

struct node* node_t::prnt

ref to parent

Definition at line 144 of file roxml_types.h.

◆ sibl

struct node* node_t::sibl

ref to brother

Definition at line 142 of file roxml_types.h.

◆ src [1/2]

void* node_t::src

xml src address

Definition at line 138 of file roxml_types.h.

◆ [union] [2/2]

union { ... } node_t::src

xml tree source

◆ type

unsigned short node_t::type

document or buffer / attribute or value

Definition at line 134 of file roxml_types.h.