Anyone have a link to such beast?
I've got an xml file with various countries, cities, & data. I'd like to populate a dropdown list with the country & city, and populate a textarea with data based on the choice. The latter I already know. It's the dynamic creation of the dropdown where I'm clueless.
Here's an example of the xml:
<?xml version="1.0" encoding="iso-8859-1" ?>
<Country_data>
<Location>
<LocationID>US</LocationID>
<Country>United States</Country>
<Region>North Atlantic</Region>
<City>Boston</City>
<Data>Some facts & trivia</Data>
</Location>
<Location>
<LocationID>AU</LocationID>
<Country>Australia</Country>
<Region>Tasmania</Region>
<City>Hobart</City>
<Data>Some facts & trivia</Data>
</Location>
</Country_data>
Any thoughts?
I've got an xml file with various countries, cities, & data. I'd like to populate a dropdown list with the country & city, and populate a textarea with data based on the choice. The latter I already know. It's the dynamic creation of the dropdown where I'm clueless.
Here's an example of the xml:
<?xml version="1.0" encoding="iso-8859-1" ?>
<Country_data>
<Location>
<LocationID>US</LocationID>
<Country>United States</Country>
<Region>North Atlantic</Region>
<City>Boston</City>
<Data>Some facts & trivia</Data>
</Location>
<Location>
<LocationID>AU</LocationID>
<Country>Australia</Country>
<Region>Tasmania</Region>
<City>Hobart</City>
<Data>Some facts & trivia</Data>
</Location>
</Country_data>
Any thoughts?