Cool~ :) It works well~ Thank you very much ^^ And I have a question...
What I want to do is JUST to write the program that have URI as a input and DOM as a output. Now achieved the pupose by using "WinEmbed", the sample embedding project of Mozilla source tree. The point I worried is that this program is unnecessarily too big and heavy compared with what I want to do; I don't need some layouts... So are there simple and small ways to get the DOM except something visual..?? :) "Boris Zbarsky" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > ??? wrote: > > > webNav->LoadURI(NS_ConvertASCIItoUCS2(url).get(), > > nsIWebNavigation::LOAD_FLAGS_NONE, > > nsnull, > > nsnull, > > nsnull); > > This starts the load. The load is asynchronous. > > > rv = window->GetDocument(getter_AddRefs(doc)); > > This creates an empty document, since nothing has been loaded into that window yet. > > You need to wait until the load completes before getting the document. > > -Boris _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
