Hi Steve. I have the same problem: I want to intercept the raw HTML document before it's parsed into DOM.
Have you discovered any way to do it? If not, can anyone help us?? Thanks! -- Fabiano M. Atalla da Fonseca On Fri, 29 Oct 2004, steve lu wrote: > Hi, > > Thank you for your reply. I looked into nsIDocumentEncoder and tried to include > > it in my xpcom component using gecko sdk, but only to be led into the abyss of > > many missing ns*String.h files and finally the conflict between nsEmbedCString.h and > nsACString.h. > > Steve > > "Gervase Markham" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > steve lu wrote: > > > Reconstructing the document from the DOM looks very painful and will > > > avoid doing that as much as possible. > > > > Well, View Selection Source does exactly this, so it's can't be too > > hard. I presume we have some sort of HTML/XMLSerializer class... > > > > Gerv > > _______________________________________________ > > Mozilla-xpcom mailing list > > [EMAIL PROTECTED] > > http://mail.mozilla.org/listinfo/mozilla-xpcom _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
