I am having issues trying to read a self-closing XML element that is invalid. The XML is as such:
<a key='value'>
<b key2='value2'>
<c importantkey='importantvalue'>
</b>
</a>
By using .NET's xmlDocument class and XPath, I am unable to retrieve element "c" as it is an invalid tag.
I do not have control over the XML as this is passed from an API. To be more specific, tumblr's API for XML will present video post in the above XML format.
As a result, I am unable to retrieve the XML element. I can only retrieve up to a
element.
Is there any workaround that allows me to retrieve 'c' element as a XML node?