logo       

Re: Parsing an HTML doc in to DOM: msg#00051

mozilla.devel.dom

Subject: Re: Parsing an HTML doc in to DOM

> From an nsHTMLContentSink object you create.

Right, but in order to create an nsHTMLContentSink, I need to link to
libgklayout or to the static libgkcontenthtml(dont remember the exact
name), in order to be able to call NS_NewHTMLContentSink().
I tried that, and the first one caused an error in the config stage
saying that it can't find references to some JS related DSOes, and the
latter caused an unspecified linker error.

> You implemented the other methods too, right? This should have worked.

I implemented all of them so that they will just return NS_OK (and ran
a debugger in order to check which routines will i enter).
But it shouldn't matter because the parser simply uses them as
handlers for the various tags (parsernodes) it encounters during the
parsing, right?


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise