Hi… I am new in cocos2d-x and there’s many things that I still don’t understand how to do.
I need to parse XML file which I placed in resource/data/ folder (resource/data/test.xml) , I am able to port the code of XMLReader from the official site example without any error http://www.xmlsoft.org/examples/reader1.c
but the problem now is I can’t access the xml file. it turns out that the XMLReader return NULL. so I wonder how is the right way to access the file?
I tried to move the test.xml to resource/ but there’s no good result .