I want to display name of continents in a ListView, let us call it listContinents . Upon selecting for example US, I want to display all the States there, let's call it ListStates. Upon selecting a particular state, I want to display all the cities in that state, let us call it ListCity. Upon selecting a city, I want to display some info about that city, let us call it listCityInfo. This is a summary for what I said above.
Continent >> States >> Cities >> Info.
How can I create one XML file containing all the information and read from it? Basically I do not know how to make it. I have the information stored in an html file, so should I convert it to an XML file. Is this the way to go?
How will I read the XML file if it contains all the information. If the XML file contains only the Continents, States, or the Cities I know how to read that, but not when all are there. How do I make it work? I don't want to create more than 500 XML files containing the cities for each state, it would be a waste of time.
Is it possible for someone to illustrate to me how this works using any example or link me to useful site?
I will appreciate it, Thank you!