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
You can use LINQ To XML:
var result = XDocument.Parse(xml) .Descendants("lst") .Where(e => (string) e.Attribute("name") == "overflow") .Descendants("str") .Select(x => x.Value) .FirstOrDefault();