Is there anyway through through which I can parse this XML file that is in this following format:-
<?xml version="1.0" encoding="utf-8"?>
<CountryList>
<Country CountryId="AF">Afghanistan</Country>
<Country CountryId="AX">Akrotiri</Country>
<Country CountryId="AL">Albania</Country>
...........................................
...........................................
I need the Country ID and the name:- i.e "AL" and "Albania" , So, is it possible to parse specified XML, and store Country Id and country name in an Array. Any suggestion will be helpful.
Aucun commentaire:
Enregistrer un commentaire