i have to parse xml file to get country details like country name and country postal code. how can i parse country names to spinner adapter and when i select perticular country using spinner i have to display particular country code in textview.i have to parse xml file to get country details