i am developping a little app that retrieves an XML file, located on a remote server (http://xxxx.com/myfile.xml) This file is relatively big, and it contains a big list of geolocations with other informations that i need to use for my app. So i read this file remotely once and insert it into a little SqlCE file (database.sdf)
So If I need to be accessing geolocation #1, i ll just make a SELECT statement into this DATABASE instead of loading the whole XML file everytime.
But i would like to know if its possible to do this without using .sdf files ?
What is the most efficient way (fastest)?
Saving the big XML file once locally and load if everytime i start my app to load it in a dataset ? this is would make the app a bit long to load everytime
Saving the big XML file once locally and reading the nodes one by one to look for geolocation #1 ?
Or is it possible to retrieve geolocation #1 from the remote xml directly(http://xxxx.com/myfile.xml) without reading the whole file ?
Do you have any other ideas?
thanks