Sometimes we receive incorrect XML back from a web service. Are there any libraries out there for objective-c, and specifically for iOS that can clean up XML to make it valid for a parser? Something like NSXMLDocumentTidyXML but for iOS?
Sometimes we receive incorrect XML back from a web service. Are there any libraries
Share
Take a look at TouchXML, specifically
CXMLDocumentTidyXML. Being a JSON fan myself, I’ve never used it, but it seems to be capable of tidying up xml. You would do something like this: