[libxml-devel] SAX callbacks with HTML Parser
Andrew S. Townley
ast at atownley.org
Mon Apr 20 19:08:43 EDT 2009
Hi Folks,
I've a situation where I really need to be able to get to the libXML2
htmlSAXParseDoc so that I can get SAX events during parsing of HTML
documents.
I downloaded the source for the latest ruby-libxml release, but I'm not
sure if the best way is to add the SAX parser callbacks to the parser
context (it looks like they're in there), or if it is to wrap the
htmlSAXParseDoc function directly.
I should also preface this with the statement that I've never used the C
API for libxml2, but I do really need this functionality to get any
further with solving my current problem.
Any ideas/suggestions (or patches??? :)
Cheers,
ast
--
Andrew S. Townley <ast at atownley.org>
http://atownley.org
More information about the libxml-devel
mailing list