I have an XElement
and inside that element I have another XML fragment. How do I retrieve the XML?
If I try the following, I get only the value:
string str = "<Root><Node1>value1</Node1><Node2></Node2></Root>";
XElement elem = XElement.Parse(str);
string innerXml = elem.value;