Take a list of type Country and define properties, populate from xml like this
public List<Country> FetchCountries()
{
List<Country> lstCountry = new List<Country>();
XmlDocument xDoc = new XmlDocument();
xDoc.Load(xmlPath);
XmlElement root = xDoc.DocumentElement;
XmlNodeList nodeList = root.GetElementsByTagName("country");
for (int i = 0; i < nodeList.Count; i++)
{
String countryName = String.Empty;
countryName = nodeList[i].Attributes["name"].Value;
lstCountry.Add(new Country { CountryID = i, CountryName = countryName });
}
return lstCountry;
}