How to parse the file named .xml

I create a picture and a xml
I want to know how to parse the xml and then I can get my picture!

Hi,

If you want to parse a custom xml file, please reference cc.SpriteFrameCache’s codes in /cocos2d/core/sprite_nodes/CCSpriteFrameCache.js

Best regards
David