[xml] Why does htmlCtxtRead* only parse HTML comments?
- From: Abraham Nelson <abe49_90210 yahoo com>
- To: xml gnome org
- Subject: [xml] Why does htmlCtxtRead* only parse HTML comments?
- Date: Sat, 14 May 2005 13:44:10 -0700 (PDT)
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();
document=htmlCtxtReadFile(parserContext,"http://www.pantos.org/atw/h-valid.html",(char*)"iso-8859-1",NULL);
xmlChar *xmlbuff;
int buffersize;
htmlDocDumpMemory(document,&xmlbuff,&buffersize);
printf("%s",xmlbuff);
xmlFreeDoc(document);
htmlFreeParserCtxt (parserContext);
Discover Yahoo!
Have fun online with music videos, cool games, IM and more. Check it out!
http://discover.yahoo.com/online.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]