Search code examples
iosipadxml-parsingnsxmlparsernsxmldocument

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


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 ???


Solution

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