The embedded xml SAX parser, extract from rapidxml DOM parser: https://github.com/dwd/rapidxml
The non-recursive revision is extract from pugixml DOM parser: https://github.com/zeux/pugixml
Please see: https://github.com/simdsoft/engine-x/blob/master/cocos/platform/CCSAXParser.cpp