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

xml parsing context More...

#include <roxml_types.h>

Data Fields

int pos
 
int lvl
 
int empty_text_node
 
int state
 
int previous_state
 
int mode
 
int inside_node_state
 
int content_quoted
 
int type
 
int nsdef
 
int ns
 
void * src
 
node_tcandidat_node
 
node_tcandidat_txt
 
node_tcandidat_arg
 
node_tcandidat_val
 
node_tcurrent_node
 
node_tnamespaces
 
node_tlast_ns
 
char curr_name [MAX_NAME_LEN+1]
 
int curr_name_len
 
int doctype
 

Detailed Description

xml parsing context

obscure structure that contains all the xml parsing variables

Definition at line 158 of file roxml_types.h.

Field Documentation

◆ candidat_arg

node_t* roxml_load_ctx_t::candidat_arg

attr node being processed

Definition at line 173 of file roxml_types.h.

◆ candidat_node

node_t* roxml_load_ctx_t::candidat_node

node being processed

Definition at line 171 of file roxml_types.h.

◆ candidat_txt

node_t* roxml_load_ctx_t::candidat_txt

text node being processed

Definition at line 172 of file roxml_types.h.

◆ candidat_val

node_t* roxml_load_ctx_t::candidat_val

attr value being processed

Definition at line 174 of file roxml_types.h.

◆ content_quoted

int roxml_load_ctx_t::content_quoted

content of attribute was quoted

Definition at line 166 of file roxml_types.h.

◆ curr_name

char roxml_load_ctx_t::curr_name[MAX_NAME_LEN+1]

current node name (attr or elm)

Definition at line 178 of file roxml_types.h.

◆ curr_name_len

int roxml_load_ctx_t::curr_name_len

current node name (attr or elm) lenght

Definition at line 179 of file roxml_types.h.

◆ current_node

node_t* roxml_load_ctx_t::current_node

current node

Definition at line 175 of file roxml_types.h.

◆ doctype

int roxml_load_ctx_t::doctype

nested doctype count

Definition at line 180 of file roxml_types.h.

◆ empty_text_node

int roxml_load_ctx_t::empty_text_node

if text node is empty (only contains tabs, spaces, carriage return and line feed

Definition at line 161 of file roxml_types.h.

◆ inside_node_state

int roxml_load_ctx_t::inside_node_state

sub state for attributes

Definition at line 165 of file roxml_types.h.

◆ last_ns

node_t* roxml_load_ctx_t::last_ns

last declared namespaces

Definition at line 177 of file roxml_types.h.

◆ lvl

int roxml_load_ctx_t::lvl

nested elem count

Definition at line 160 of file roxml_types.h.

◆ mode

int roxml_load_ctx_t::mode

mode quoted or normal

Definition at line 164 of file roxml_types.h.

◆ namespaces

node_t* roxml_load_ctx_t::namespaces

available namespaces

Definition at line 176 of file roxml_types.h.

◆ ns

int roxml_load_ctx_t::ns

indicate if a ns is used for this node

Definition at line 169 of file roxml_types.h.

◆ nsdef

int roxml_load_ctx_t::nsdef

indicate if this is a nsdef

Definition at line 168 of file roxml_types.h.

◆ pos

int roxml_load_ctx_t::pos

position in file

Definition at line 159 of file roxml_types.h.

◆ previous_state

int roxml_load_ctx_t::previous_state

previous state

Definition at line 163 of file roxml_types.h.

◆ src

void* roxml_load_ctx_t::src

source (file or buffer)

Definition at line 170 of file roxml_types.h.

◆ state

int roxml_load_ctx_t::state

state (state machine main var)

Definition at line 162 of file roxml_types.h.

◆ type

int roxml_load_ctx_t::type

source type (file or buffer)

Definition at line 167 of file roxml_types.h.