Mbed port of the Simple Plain Xml parser. See http://code.google.com/p/spxml/ for more details. This library uses less memory and is much better suited to streaming data than TinyXML (doesn\'t use as much C++ features, and especially works without streams). See http://mbed.org/users/hlipka/notebook/xml-parsing/ for usage examples.
Dependents: spxmltest_weather VFD_fontx2_weather weather_LCD_display News_LCD_display ... more
SP_XmlDomParser Class Reference
parse string to xml node tree More...
#include <spdomparser.hpp>
Public Member Functions | |
int | append (const char *source, int len) |
append more input xml source | |
const char * | getError () |
const SP_XmlDocument * | getDocument () const |
get the parse result |
Detailed Description
parse string to xml node tree
Definition at line 19 of file spdomparser.hpp.
Member Function Documentation
int append | ( | const char * | source, |
int | len | ||
) |
append more input xml source
- Returns:
- how much byte has been consumed
Definition at line 49 of file spdomparser.cpp.
const SP_XmlDocument * getDocument | ( | ) | const |
get the parse result
Definition at line 155 of file spdomparser.cpp.
const char * getError | ( | ) |
- Returns:
- NOT NULL : the detail error message
- NULL : no error
Definition at line 150 of file spdomparser.cpp.
Generated on Sun Jul 17 2022 09:10:11 by 1.7.2