How to deserialize xml in which a node contains html tags?

Exannydolla

New Member
\[code\]<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 " ) The chemical name <b>benzene</b> was identified.<br>The following terms were added from 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>\[/code\]I get the string from a web service and it doesnt send the html in cdata section. The error that I get is:System.Xml.XmlException: The 'br' start tag on line 1 does not match the end tag I am using .net 3.5, webclient to consume a REST web service.
 
Back
Top