c# - How to deserialize xml in which a node contains html tags? -
<translation> ( benzene or pyrobenzole or pyrobenzol or "phenyl hydride" or phene or "fenzen czech " cyclohexatriene "coal naphtha" or "benzolo italian " benzole benzol "benzen polish " "benzeen dutch " ) chemical name <b>benzene</b> identified.<br>the following terms added chemidplus:<br><b>pyrobenzole</b><br><b>pyrobenzol</b><br><b>phenyl hydride</b><br><b>phene</b><br><b>fenzen czech </b><br><b>cyclohexatriene</b><br><b>coal naphtha</b><br><b>benzolo italian </b><br><b>benzole</b><br><b>benzol</b><br><b>benzen polish </b><br><b>benzeen dutch </b><br>cas registry number: <b>71-43-2</b><br></translation> i string web service , doesnt send html in cdata section. error is: system.xml.xmlexception: 'br' start tag on line 1 not match end tag
i using .net 3.5, webclient consume rest web service.
i know problem. solve including namespace html.
xmlns="http://www.w3.org/1999/xhtml" this error thrown empty elements <br />, <hr />, <input /> , on.
Comments
Post a Comment