/home/dko/projects/mobilec/trunk/src/include/xml_helper.h File Reference

#include <mxml.h>

Go to the source code of this file.

Functions

mxml_node_txml_find_sibling (const mxml_node_t *node, const char *sibling_name)
char * xml_get_cdata (const mxml_node_t *node)
mxml_node_txml_get_child (const mxml_node_t *node, const char *child_name, int descend)
mxml_node_txml_get_deep_child (const mxml_node_t *parent, const char **child_path)
mxml_node_txml_get_next_element (const mxml_node_t *node)
char * xml_get_text (const mxml_node_t *node)
const char * xml_get_element_name (const mxml_node_t *node)
mxml_node_txml_new_cdata (mxml_node_t *parent, const char *text)
const char * whitespace_cb (mxml_node_t *node, int where)


Function Documentation

const char * whitespace_cb ( mxml_node_t node,
int  where 
)

mxml_node_t* xml_find_sibling ( const mxml_node_t node,
const char *  sibling_name 
)

char* xml_get_cdata ( const mxml_node_t node  ) 

Definition at line 71 of file xml_helper.c.

References buf, CHECK_NULL, MXML_ELEMENT, mxml_node_s::type, and xml_get_element_name().

Referenced by xml_get_text().

mxml_node_t* xml_get_child ( const mxml_node_t node,
const char *  child_name,
int  descend 
)

mxml_node_t* xml_get_deep_child ( const mxml_node_t parent,
const char **  child_path 
)

Definition at line 123 of file xml_helper.c.

References MXML_NO_DESCEND, node, and xml_get_child().

const char* xml_get_element_name ( const mxml_node_t node  ) 

mxml_node_t* xml_get_next_element ( const mxml_node_t node  ) 

Definition at line 137 of file xml_helper.c.

References MXML_ELEMENT, mxml_node_s::next, and mxml_node_s::type.

char* xml_get_text ( const mxml_node_t node  ) 

mxml_node_t* xml_new_cdata ( mxml_node_t parent,
const char *  text 
)

Definition at line 230 of file xml_helper.c.

References CHECK_NULL, mxmlNewElement(), and node.

Referenced by agent_xml_compose__agent_code().


Generated on Thu Nov 13 14:22:58 2008 for Mobile-C by  doxygen 1.5.5