I am trying to load a fragment of (possibly) incorrect HTML into an XMLDocument object, but it does not work with XMLExceptions ... since there are additional open / close tags and invalid XML tags, such as <img > instead of <img />
How to get XML to analyze all errors in the data? Is there any XML validation mechanism that I can apply before parsing to fix these errors? Or will it handle exception parsing that can be parsed?
c # xml parsing xml-parsing xmldocument
Robin rodricks
source share