I have spent hours and cannot get things going. I use TiXmlDocument::Parse(…) to parse the xml below. I cannot for the life of me figure out how to read the sub items like triggerPriceBuy .
My code is:
doc.Parse( data_ );
printf(pElem->Value()); // Prints Parameters
//enters once with pKey equalling "Parameters"
for( pElem; pElem; pElem=pElem->NextSiblingElement())
const char *pKey=pElem->Value();
const char *pText=pElem->GetText();
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.