Re: [xml] Why does htmlCtxtRead* only parse HTML comments?

On Sat, May 14, 2005 at 01:44:10PM -0700, Abraham Nelson wrote:
Given the following the code below, why does
htmlCtxtReadFile/Doc/Memory only parse the HTML
comments? The docs don't provide any insights on why
it does this.

xmlDocPtr document;
htmlParserCtxtPtr parserContext=xmlNewParserCtxt();

  Because this creates an XML parser context and not an HTML
parser context is my best bet


  use htmlReadFile() directly.


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]