I know there is no direct method of doing it but still..
Can we convert XElement
element into XmlNode
.
Options like InnerText
and InnerXml
are XmlNode
specific.
so,if i want to use these options, what can be done to convert XElement
into XmlNode
and vice versa.