I use the libxml to parse xml file.
the code is like that :
CCSAXParser parser;
if (false == parser.init("UTF-8") )
{
return false;
}
parser.setDelegator(this);
return parser.parse("game.xml");;
the game.xml file is in the subdir of Resources
When i debug this code under win32 it run good.
but when i debug it under the ios it can not read the content of this file