Re: Loading HTML as string directly

2010-04-07 Thread mlutken
> loadStream ? > > -Boris I havent tried loadStream. Would that do the trick? ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

debug build for xulrunner

2010-04-07 Thread g...@novadsp.com
Building xulrunner from the 1.92 release on Win7 using VS2008 SP1 to test embedding in an MFC app. Everything compiles and links cleanly but I cannot see how the PDB files end up in the dist/bin folder. Am I missing something? Thx++ Jerry Mozconfig is: ac_add_options --enable-application=xu

Re: Loading HTML as string directly

2010-04-07 Thread Boris Zbarsky
On 4/7/10 9:21 AM, mlutken wrote: Is it possible to load a string into the DOMDocument ? I know how to load an URI using nsIWebNavigation and currently I just save the html file and the load it using nsIWebNavigation->LoadURI with "file://" as protocol. loadStream ? -Boris __

Loading HTML as string directly

2010-04-07 Thread mlutken
Hi Is it possible to load a string into the DOMDocument ? I know how to load an URI using nsIWebNavigation and currently I just save the html file and the load it using nsIWebNavigation->LoadURI with "file://" as protocol. Thanks a lot in advance. -Martin ___

Re: get notified only after all nested requests in a document are done loading

2010-04-07 Thread pengdw
There are some background ajax requests, NETWORK STOPPED really only indicates all documents and frame-documents are loaded. but ajax-requests are not counted. That's why you see some state of transitions after NETWORK STOPPED. On 2010-3-6 0:05, Jeeva wrote: > The "NETWORK STOPPED" message for th

save page problem [nsiwebbrowserpersist savedocument() method]

2010-04-07 Thread Nashid
Dear Concerned, I am using mozilla interface nsIWebBrowserPersist (https:// developer.mozilla.org/en/XPCOM_Interface_Reference/ nsIWebBrowserPersist) with a method called saveDocument(). I have integrated this one with mozrepl. So if I give repl.save() it is saving the page. But the problem is i

Re: nsIDOMNode value

2010-04-07 Thread mlutken
On 6 Apr., 22:05, Filip Pekarek wrote: > Iam sorry, you'r right. The text I get really contains soft hyphen so > replace("\u00AD", "") on the string solve my problem. Thanks. > > Filip If you are interrested in collecting data from websites using Mozilla/ Embedding I have worked with that for 2 y