Will you consider using XmlSerializer to deserialize your data? It works like you load the XML file into an object.

StreamReader sr = new StreamReader(xmlData);
XmlSerializer xs = new XmlSerializer(typeof(Flight));
Flights f = xs.Deserialize(sr) as Flight;


However, you may need some modification in your Flight type


You should use array instead of List&lt;>
Add attribute [XmlArray("Name")] and [XmlArrayItem("Name")] in your array type members.


For example

[XmlArray("Itineraries")]
[XmlArrayItem("Itinerary")]
public Itinerary[] Itinerary;


read an xml file with complex struct asp.net mvc
I have a database on access and I want to add a value to a column at the end of each row based on which hospital they are in. This is a separate value. For example - the hospital called "St. James Hospital" has the id of "3" in a separate field. How do I do this using a query rather than manually going through a whole database? 
example here
