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...
enum dxml_element::element_type element_type
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 documentation for this struct was generated from the following file: