Re: [xml] HTML Parser
- From: Daniel Veillard <veillard redhat com>
- To: spinmar interfree it
- Cc: xml gnome org
- Subject: Re: [xml] HTML Parser
- Date: Wed, 5 May 2004 13:51:42 -0400
On Wed, May 05, 2004 at 01:21:16PM -0000, spinmar interfree it wrote:
Hi all,
I'd like to use libxml2 HTML Parser to parse web page and extract information.
Reading docs I see that the method htmlParseFile accepts two parameters: file to parse and the encoding.
But I can't know the web page encoding before parsing it.
If I pass null, does libxml2 discover the web page encoding?
if it is provided in the meta tags, yes. Automatic discovery: no.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]