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.
struct dxml_elementchild
 The child in the element.
struct 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

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

dxml_attribute* dxml_element::element_attribute

The attribute that belongs to the element.

struct dxml_element* dxml_element::child [read]

The child in the element.

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

struct dxml_element* dxml_element::next [read]

The next item in the element list.


The documentation for this struct was generated from the following file:
Generated on Fri Aug 24 02:35:47 2007 for dancer-xml Reference by  doxygen 1.5.3