Using XmlDocument.LoadXml()
, how can I load a string with &
or <
in it?
For instance, the following string causes an error:
<choice id="A1"> sample < text</choice>
Do I need to use a Resolver somehow? Can XmlDocument even handle things like this?