Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Xml_InvalidCharInThisEncoding >Thread Next - Re: Xml_InvalidCharInThisEncoding Re: Xml_InvalidCharInThisEncodingTo: NULL Date: 10/4/2006 5:31:00 PM Pierre wrote: > I'm trying to load a HTML page into a XPathDocument (or XmlDocument) > using C# and .NET 1.1 in order to apply a xsl on it. HTML is not XML so using XML parsers or APIs to parse HTML fails unless the HTML is XHTML. > Unfortunatly I get this error: > ErrorCode "Xml_InvalidCharInThisEncoding" string > > Example of Html that gives me troubles: > <span class="Hyperlink-H" title="8. Value of factor 'X'">8. Value > of factor 'X'</span> Encoding matters for mapping byte sequences to string characters so the above does not allow us to say where something goes wrong. Do you have a URL of the HTML document you are trying to parse? Do you know the encoding the HTML has been authored with? -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
