[Project_owners] nsIXMLHttpRequest woes
asqueella at gmail.com
Fri May 19 02:04:30 EDT 2006
On 5/19/06, Alex Vincent <ajvincent at gmail.com> wrote:
> > var req = Components.classes["@mozilla.org/xmlextras/xmlhttprequest;1"]
> > .createInstance(Components.interfaces.nsIXMLHttpRequest);
> > req.open("GET", "chrome://foxyproxy/content/strings.xul", false);
> XMLHttpRequest doesn't work for chrome URL's (HTTP and chrome are
> different protocols entirely). Personally, I recommend you look into
> DOMParser and the ChromeFile interface I wrote for jslib.
Yes it does. It's neither restricted to XML nor to HTTP.
Eric: does e.item(i) work?
More information about the Project_owners