I know there is no direct method of doing it but still.. Can we convert XElement element into XmlNode. Options like InnerText and
XElement
XmlNode
InnerText
I think the shortest way is following:
Dim xn as XmlNode = xdoc.ReadNode(xElem.CreateReader)
That's all! Convert to C# is trivial.