Hi all
This seems simple but Is there a way to get a list of tags from ofxmlsettings without knowing the name of the tags that might exist?
Sample xml
<xml>
<one>value1</one>
<two>value2</two>
</xml>
Code
xml.pushTag("xml");
vector<string> tags = xml.getTagsAtThisLevel();
xml.popTag();
for(int i = 0; i < tags.size(); i++)
{
ofLogNotice() << ofToString(i) << ". " << tags[i];
}
output.
0. one
1. two
Cheers
Az