Re: [xml] parsing html



On Thu, Jul 08, 2004 at 11:28:57AM -0400, jesso1607 rogers com wrote:
I am trying to parse HTML that has javascript functions in it. The parser doesn't seem to like.

What can I do?

  use the HTML parser. You will get errors, but you will get a result.
The XML parser on the other hand is not forgiving, on purpose, it's not
XML.

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]