I'm attempting to get just the inner xml of the following XML/XAML doc.
<Root>
<Child1>
Hello
</Child1>
</Root>
Desired Result
<Child1>
Hello
</Child1>
My code below Shows this Message
Hello
I'm expecting the Child elements as well but unable to achieve this.
Code
XDocument doc = XDocument.Parse(xx);
string fragment = (string)doc.Root.Descendants().FirstOrDefault();