dancer-xml Reference  0.8.2.1
Public Types | Data Fields
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... More...
 
enum dxml_element::element_type element_type
 
dxml_attributeelement_attribute
 The attribute that belongs to the element. More...
 
struct dxml_elementchild
 The child in the element. More...
 
struct dxml_elementnext
 The next item in the element list. More...
 

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

struct dxml_element* dxml_element::child
dxml_attribute* dxml_element::element_attribute

The attribute that belongs to the element.

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

char* dxml_element::element_name
struct dxml_element* dxml_element::next

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