I have this xml string:
a is a namespace. To get the feed element try this:
a
XDocument doc = XDocument.Parse(xmlString); XNamespace a = "http://www.w3.org/2005/Atom"; var feed = doc.Element(a + "feed");