#include #include #include using namespace std; using namespace noos; #ifdef _TESTPP int main(int argc, char * argv[]) { if (argc < 2) return 1; xmlpullparser xpp; fstream f(argv[1]); xpp.setInput(f); for (xmlpullparser::event e = xpp.next(); e != xmlpullparser::END_DOCUMENT; e = xpp.next()) { switch (e) { case xmlpullparser::START_TAG: cout << "start tag: " << xpp.getText() << endl; for (unsigned int i=0;i