   tinyxml not loading properly
  Here's test2.xml:<?xml version="1.0" ?><Greeting><Hello>World</Hello></Greeting>Here's parseXML():void parseXML(TiXmlNode *p){if(!p)return;switch(p->Type()){case TiXmlNode::TINYXML_DOCUMENT:printf("DOCUMENT\n");break;case TiXmlNode::TINYXML_ELEMENT:printf("ELEMENT\n",p->Value());//printf("ELEMENT %s\n",p->Value());break;case TiXmlNode::TINYXML_DECLARATION:printf("DECLARATION %s\n",p->Value());break;case TiXmlNode::TINYXML_UNKNOWN:printf("UNKNOWN\n");break;case TiXmlNode::TINYXML_COMMENT:printf("COMMENT %s\n",p->Value());break;case TiXmlNode::TINYXML_TEXT:printf("TEXT %s\n",p->ToText()->Value());break;default:break;}TiXmlNode *i;for(i=p->FirstChild();i!=NULL;i=p->NextSibling())parseXML(i);}I call parseXML with:TiXmlDocument doc("test2.xml");bool ok = doc.LoadFile();if(ok)parseXML(&doc;and my output is only:DOCUMENTDECLARATIONMy guess is that tinyxml somehow doesn't load properly. I also wonder about the constants.In the tutorials I've read, they don't need the TINYXML_, but I get errors. I hope someone can help. Thanks in advance.   
  Looks to me like you're only iterating through siblings and not children. I highly recommend that you look at using the visitor for this.See here.   