¿Cómo exportar la base de datos sqlite3 en formato de archivo mac xml xls programáticamente en iPhone?

How to export the sqlite3 database table in mac xml excel .xml and microsoft excel xsl xml spreadsheets format programmatically?

preguntado el 08 de noviembre de 11 a las 10:11

1 Respuestas

If you used Core Data to manage your DB just loop on the Entities and use a NSMutableString to build your document. For MS Excel you can build an HTML and it will be read too.

respondido 08 nov., 11:14

I have not used core Data and i want to export data from the app only and that also in .xls format. - iosdev1111

I don't understand; if you need to load an XLS file you can build it as an HTML table so don't need to build an XML document. If you need exactly an XML file you can still loop on a cursor with data from your table and use an NSMutableString to add elements from your cursor - Oscar Peli

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