// Test file for Project #1 #include "CPPXPath.h" #include int global; int main(int argc,char* argv[]) { global = 0; CppXml::CPPXPath xpath; xpath.Parse(" hello world xpath test "); CPPXmlNode * node = xpath.GetNode("root/child1"); if(node == NULL) std::cout << "Cannot find node" << std::endl; else { std::cout << "Found node root/child1" << std::endl; std::cout << node->ToString().it << std::endl; } return 0; } void increment_global(){ global++; }