Re: Load XML from content

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
Neil Deakin wrote:
> What is the best API to use to start off an asynchronous document load? 

Another option, I guess is to use nsIDOMXMLDocument (set async to true and call 
load()).  I guess you'd want to watch for the onload event on the document, 
then.... or something.  It's hard to get this right in general without leaking; 
XBL fails for example.  :(

-Boris
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.