You might want to look into XML "pull parsing": http://www.xmlpull.org/v1/download/unpacked/doc/quick_intro.html
There is support for it on the phone. On Jul 23, 2:05 pm, Capt Spaghetti <[email protected]> wrote: > I have 50 XML files located on a remote server, one formatted for > each state. I am able to read each of the 50 files by selecting a > state from a spinner and using a SAX parser but I cannot seem to find > out how to pull out information from each file by city. I have tried > unsuccessfully to pass a city variable to the characters method of the > Handler. > Each state has thousands of records and I am looking for a way to > speed up the search since reading the entire file for a state takes > several minutes. I used SAX since it was supposed to be the fastest > way to read but it limits me in selecting specific information. If I > understand things correctly I could use a DOM parser to find my state > and city specific data but that would make retrieval even slower. Any > suggestions would be appreciated. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

