Hello,
I found some threads with this same problem: load data from a xml file, but i didn’t find a answer.
Did anyone has some sample, snippet, that shows how to load the xml and put the data into arrays/dictionaries with cocos2d x?
Thanks.
Hello,
I found some threads with this same problem: load data from a xml file, but i didn’t find a answer.
Did anyone has some sample, snippet, that shows how to load the xml and put the data into arrays/dictionaries with cocos2d x?
Thanks.
libxml2 is integrated in cocos2dx framework and used in CCSAXParser.
If you want to parse xml file by yourself, start from API and documents of libxml2 http://xmlsoft.org/ would be a good idea.
I’m just wondering, what does “SAX” stand for?