/home/dko/projects/mobilec/trunk/src/mxml-2.2.2/mxml-search.c File Reference

#include "config.h"
#include "mxml.h"

Go to the source code of this file.

Functions

mxml_node_tmxmlFindElement (mxml_node_t *node, mxml_node_t *top, const char *name, const char *attr, const char *value, int descend)
mxml_node_tmxmlWalkNext (mxml_node_t *node, mxml_node_t *top, int descend)
mxml_node_tmxmlWalkPrev (mxml_node_t *node, mxml_node_t *top, int descend)


Function Documentation

mxml_node_t* mxmlFindElement ( mxml_node_t node,
mxml_node_t top,
const char *  name,
const char *  attr,
const char *  value,
int  descend 
)

Definition at line 48 of file mxml-search.c.

References mxml_value_u::element, MXML_DESCEND, MXML_ELEMENT, mxmlElementGetAttr(), mxmlWalkNext(), mxml_value_s::name, mxml_node_s::next, mxml_node_s::type, and mxml_node_s::value.

Referenced by agent_xml_parse__fill_row_data(), agent_xml_parse__task(), fipa_envelope_HandleAclRepresentation(), fipa_envelope_HandleComments(), fipa_envelope_HandleDate(), fipa_envelope_HandleEnvelope(), fipa_envelope_HandleFrom(), fipa_envelope_HandleIntendedReceiver(), fipa_envelope_HandleParams(), fipa_envelope_HandlePayloadEncoding(), fipa_envelope_HandlePayloadLength(), fipa_envelope_HandleReceived(), fipa_envelope_HandleTo(), fipa_envelope_ParseAddresses(), fipa_envelope_ParseAgentIdentifier(), fipa_envelope_ParseResolvers(), main(), mxmlIndexNew(), scan_file(), sort_node(), write_documentation(), write_element(), xml_find_sibling(), and xml_get_child().

mxml_node_t* mxmlWalkNext ( mxml_node_t node,
mxml_node_t top,
int  descend 
)

Definition at line 130 of file mxml-search.c.

References mxml_node_s::child, mxml_node_s::next, and mxml_node_s::parent.

Referenced by mxmlFindElement(), and write_element().

mxml_node_t* mxmlWalkPrev ( mxml_node_t node,
mxml_node_t top,
int  descend 
)

Definition at line 166 of file mxml-search.c.

References mxml_node_s::last_child, mxml_node_s::parent, and mxml_node_s::prev.


Generated on Fri May 16 14:49:56 2008 for Mobile-C by  doxygen 1.5.4