Can't find NSXMLDocument class for XML parsing using NSXML Parser

假如想象 提交于 2019-12-23 02:38:28

问题


I have been trying to trying to parse an xml file using NSXML parser . In that i want to use NSXMLDocument class for storing data in it's instance. After searching in all possible ways i failed to get clear idea about NSXMLDocument. I didn't import any class especially for that. Do i have to add any classes or lib files ???


回答1:


NSXMLDocument is not availble on iOS. You options are to use either NSXMLParser sax based parsing or a third party library.



来源:https://stackoverflow.com/questions/21157051/cant-find-nsxmldocument-class-for-xml-parsing-using-nsxml-parser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!