Load XML from content
Neil Deakin <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Message-ID | <[email protected]> |
I want to load an XML document from within content, specifically the template builder. There's already some code there which makes an absolute url and checks for the same origin and so forth, although it would be nice to just use a generic version which checks that. What is the best API to use to start off an asynchronous document load? I have an nsIDocument for the base url, the string url to load, and all I need is a notification with the document when it has done loading. / Neil