Commit 9d5acfe5 authored by Pavel Vainerman's avatar Pavel Vainerman

update tests

parent d3920fe4
......@@ -12,15 +12,15 @@ int main()
{
*/
UniXML xml("test.xml");
xmlNode* cnode = xml.findNode(xml.getFirstNode(),"UniSet");
if( cnode == NULL )
{
cerr << "<testnode> not found" << endl;
return 1;
}
UniXML_iterator it(cnode);
cout << "string id=" << it.getProp("id")
<< " int id=" << it.getIntProp("id")
<< endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment