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

the type of element

Enumerator:
element_type_element  element.

element_type_pcdata  Parsed character data: attribute=child=NULL.


Field Documentation

The attribute that belongs to the element.

Referenced by dxml_free_xml(), getatrstring(), initialize_element(), read_element(), and recurse_element().

the type of element


The documentation for this struct was generated from the following file:

Generated on Wed Jun 10 00:37:56 2009 for dancer-xml Reference by  doxygen 1.5.9