Creando un archivo usando Apple IOS

Am new to i phone development area.i invoked a sap webservice from i phone.I got the result in the xml format.That in the sense the data with the xml tags is displayed in the console.But from then onwards i want to create a xml file using file I/O concepts in Apple IOS.So that the data in the console which is in the xml format will be moved to the xml file.From there i want to parse the data.Since few days tried using JSON for parsing but By Using JSON can we give our own web service URl or extension with .json url only works.Can you give brief explanation???

preguntado el 09 de marzo de 12 a las 13:03

You are trying to parse an XML data with JSON. That's your first error. Do you really want to save your XML file before processing it? There's no need to - you can do it all in memory. Check the Apple developer documentation for NSXMLParser. -

Thanks for responding.Can you explain me briefly -

Brief explanation - go to developer.apple.com and search for nsxmlparse. Or use google -

1 Respuestas

Here is a vast and simple tutorial that helps to read as well as create xml documents using GDataXMLParser http://www.raywenderlich.com/725/how-to-read-and-write-xml-documents-with-gdataxml

respondido 09 mar '12, 15:03

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.