问题
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