iphoneobjective-ciosxmlnsxml

How to create XML String in iPhone to use in web-service requests?


I want to create XML string to be sent to server through web-service. How do I do it natively in iPhone? Or do I have to use any third party library? I was not able to download GDATA for iPhone. Any else available? Or any other way to do it?

Please help, Thanks in advance.


Solution

  • You can create XML file with StringWithFormat method or Some of XML parser allow write XML as well. Please refer link of Parser for writing XML

    http://www.raywenderlich.com/553/how-to-chose-the-best-xml-parser-for-your-iphone-project