dxml_element Struct Reference

Structure holding PCDATA or ELEMENT. More...

#include <dancer-xml.h>


Public Types

enum  element_type { element_type_element, element_type_pcdata }
 the type of element More...

Data Fields

char * element_name
 in case of PCDATA the text is contained here.
enum dxml_element::element_type element_type
 the type of element
dxml_attributeelement_attribute
 The attribute that belongs to the element.
dxml_elementchild
 The child in the element.
dxml_elementnext
 The next item in the element list.


Detailed Description

Structure holding PCDATA or ELEMENT.

<element attribute="data>"> PCDATA </element>


Member Enumeration Documentation

enum dxml_element::element_type
 

the type of element

Enumerator:
element_type_element  element.
element_type_pcdata  Parsed character data: attribute=child=NULL.


Field Documentation

struct dxml_element* dxml_element::child
 

The child in the element.

All children will be linked as ->child and its ->next.

dxml_attribute* dxml_element::element_attribute
 

The attribute that belongs to the element.

char* dxml_element::element_name
 

in case of PCDATA the text is contained here.

..

enum dxml_element::element_type dxml_element::element_type
 

the type of element

struct dxml_element* dxml_element::next
 

The next item in the element list.


The documentation for this struct was generated from the following file:
Generated on Mon Apr 10 22:46:30 2006 for dancer-xml Reference by  doxygen 1.4.6