1. XDocument to XmlDocument
XDocument xDocument = new XDocument();
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(xDocument.CreateReader());
2. XmlDocument to XDocument
StringReader sr = new StringReader(xmlDoc.InnerXml);
XDocument xDocument = XDocument.Load(XmlReader.Create(sr));