Calling xml elements without hard coding

looking at xml being placed into flash via actionscript. How would one make it so that pressing a button (with a title like Morocco) call a select element of the xml without hardcoding.

I’ve gone through some of the tuts on kirupa…and searched.

Help would be appreciated. :azn: