Re: strange document

Michal Ceresna <[email protected]>
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <200701230002.23117.michal.ceresna__2708.72299229286$1169817587$gmane$org@gmail.com>
On Friday 26 January 2007 2:08 pm, Sylvain Ferriol wrote:
Hello,

> and i try to display the content of the document returned by
> windowWatcher.openWindow.
> this is the content (nodeName) of the nsIDOMDocument:
> #document
>    HTML
>      HEAD
>      BODY
>
> that's all !!!
> i expected to have my original XML document
> so i can not register listeners.
>

> is it normal, and how to retrieve my original xml file ?
Document loading is asynchronous.

Therefore, you have to attach a web progress listener
and wait for the 'loading ended' event.

You can search the mailing list archive for the solution,
it has been posted here several times.

best regards,
Michal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.