This is a migrated thread and some comments may be shown as answers.

[Solved] Saving XML response to SQLite and Parse using jquery

3 Answers 99 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Keen
Top achievements
Rank 1
Keen asked on 31 May 2013, 09:01 AM
Hi
   I'm targeting iOS phone, I currently post a thread about SAVING XML to Local, I learned about Apache Cordova local Storage. But since there a size limit in 5mb and I'm having a large amount of data that I fetch in Web Service. I want to use SQLite. Is there a step-by-step tutorial of SQLite? and imagine "req" is the variable represent the XML response of Web Service. How to save it using SQLite and parse using Jquery? Thank you for who will response!

Thanks
Keen

3 Answers, 1 is accepted

Sort by
0
David Silveria
Top achievements
Rank 1
answered on 03 Jun 2013, 03:31 PM
Here's how to handle databases from Cordova:http://cordova.apache.org/docs/en/2.4.0/cordova_storage_storage.md.html#Database
You can check stackoverflow for answers as well e.g.: http://stackoverflow.com/questions/8375382/how-to-store-json-in-sqlite
http://stackoverflow.com/questions/12153857/how-can-i-insert-a-json-object-into-a-sqlite-table-in-javascript-phonegap-cord
https://groups.google.com/forum/?fromgroups#!topic/phonegap/EE7JzNN1MNI
0
Keen
Top achievements
Rank 1
answered on 04 Jun 2013, 12:52 AM
Hi David,
 Thanks for the help. But using SOAP XML ,I can get the response and save the data using the SQLITE,as whole XML, but what I need is to parse the data from SQLite
0
David Silveria
Top achievements
Rank 1
answered on 04 Jun 2013, 02:56 PM
Here is a thread about this: http://stackoverflow.com/questions/4935632/how-to-parse-json-in-javascript

It is much easier to find generic info by using google than waiting for someone else to point a reading to you.
Tags
AppBuilder Windows client
Asked by
Keen
Top achievements
Rank 1
Answers by
David Silveria
Top achievements
Rank 1
Keen
Top achievements
Rank 1
Share this question
or