_xmlnode Struct Reference

#include <jabberdlib.h>


Data Fields

char * name
char * prefix
char * ns_iri
unsigned short type
char * data
int data_sz
pool p
struct xmlnode_t * parent
struct xmlnode_t * firstchild
struct xmlnode_t * lastchild
struct xmlnode_t * prev
struct xmlnode_t * next
struct xmlnode_t * firstattrib
struct xmlnode_t * lastattrib


Field Documentation

char* _xmlnode::name

local name of the xmlnode

char* _xmlnode::prefix

namespace prefix for this xmlnode

char* _xmlnode::ns_iri

namespace IRI for this xmlnode

unsigned short _xmlnode::type

type of the xmlnode, one of NTYPE_TAG, NTYPE_ATTRIB, NTYPE_CDATA, or NTYPE_UNDEF

char* _xmlnode::data

data of the xmlnode, for attributes this is the value, for text nodes this is the text

int _xmlnode::data_sz

length of the data in the xmlnode

pool _xmlnode::p

memory pool used by this xmlnode (the same as for all other xmlnode in a tree)

struct xmlnode_t* _xmlnode::parent [read]

parent node for this node, or NULL for the root element

struct xmlnode_t* _xmlnode::firstchild [read]

first child element of this node, or NULL for no child elements

struct xmlnode_t* _xmlnode::lastchild [read]

last child element of this node, or NULL for no child elements

struct xmlnode_t* _xmlnode::prev [read]

previous sibling

struct xmlnode_t* _xmlnode::next [read]

next sibling

struct xmlnode_t* _xmlnode::firstattrib [read]

first attribute node of this node

struct xmlnode_t* _xmlnode::lastattrib [read]

last attribute node of this node


The documentation for this struct was generated from the following file:
Generated on Wed Apr 2 03:30:10 2008 for jabberd14 by  doxygen 1.5.3