I will take another look at XML pull parsing. Thanks, Gene Augustine
On Jul 23, 3:28 pm, DanH <danhi...@ieee.org> wrote: > 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 <gene_august...@msn.com> 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.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en