In the documentation I can not find anything but XDocument.Descendants () . Is there any way to do this?
XDocument.Descendants ()
what you are looking for might be XDocument.Elements() . MSDN link .
XDocument.Elements()