How to: Best way to get InnerXml of an XElement?
How to: Best way to get InnerXml of an XElement?
Best way to get InnerXml of an XElement?
What’s the best way to get the contents of the mixed “body” element in the code below? The element might contain either XHTML or text, but I just want its contents in string form. The XmlElement type has the InnerXml property which is exactly what I’m after.
The code as written almostdoes what I want, but includes the surrounding … element, which I don’t…
View On WordPress











