On the possibility of using the HTML5 parser from C++

JDE <[email protected]> Thu, 14 Feb 2013 09:48:27 -0600
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Dear all:

 Sorry if this is not the right group but it seemed to me the most 
appropriate. If not, could please someone redirect me to the right one?

 My question is about the possibility of using the library contained
in the mozilla global tree under parser/htmlparser to parse a HTML5 file
(local file, not downloaded) from a C++ program and getting the DOM
tree so that my program can transform the HTML file.

 I have succesfully built Firefox, and consequently all the files in 
parser/htmlparser. My questions are:

-In which library have their object code been included? Is it possible to
link an independet program that uses it?

-Is there any documentation from the author(s) of the library (apart from 
the comments in the files themselves) the document the API?

 Thank you very much in advance for your responses.

  Juan