I have not used XML for very long and need to extract the useful information from an XML response. If there are 2 tags that are the same but have a different name e.g
LINQ to XML in System.Xml.Linq
namespace.
const string xml = @"Ola Hello ";
XDocument doc = XDocument.Parse(xml);
IEnumerable overflow = doc.Root.Elements("lst").Where(x => (string) x.Attribute("name") == "overflow");
XElement firstOverflow = overflow.FirstOrDefault();
string value = firstOverflow.Descendants("str").FirstOrDefault(x => x.Value);