How to Parse xml?

How to Parse xml?
0.0 0



I am new to cocos2dx.

I am developing a game in which all levels are defined via xml, on parsing it GameManger ecides all the working of Enemies.

So is there any tutorial regarding how to parse XML using API in cocs2dx.

Thanks in Advance


cocos2d-x use libxml2 to parse plist file in CCSAXParser.cpp and CCUserDefault. Libxml2 is integrated in ios & android ndk, we add it in win32 thrid party libraries of ccx.
So you can refer to these two files, and read libxml2 documents from here


thanks LOL