Re: XML in an extension

2013-12-19 Thread Megh Parikh
How to import a web document also please approve my extension wintitle (its very short) On Thu, Dec 19, 2013 at 5:45 AM, Jasper St. Pierre wrote: > E4X has been removed from recent Mozilla JS versions, so please use > something like GXml instead. > > > On Wed, Dec 18, 2013 at 6:54 PM, Amy wrote

Re: XML in an extension

2013-12-18 Thread Jasper St. Pierre
E4X has been removed from recent Mozilla JS versions, so please use something like GXml instead. On Wed, Dec 18, 2013 at 6:54 PM, Amy wrote: > And for XML you use E4X: > > > https://mail.gnome.org/archives/gnome-shell-list/2012-November/msg00021.html > https://developer.mozilla.org/en-US/docs/E

Re: XML in an extension

2013-12-18 Thread Amy
And for XML you use E4X: https://mail.gnome.org/archives/gnome-shell-list/2012-November/msg00021.html https://developer.mozilla.org/en-US/docs/E4X content = Shell.get_file_contents_utf8_sync('/path/to/file'); // or your preferred file-reading function // remove (developer.mozilla.org/en-U

Re: XML in an extension

2013-12-18 Thread Rovanion Luckey
To import a JSON-file in JS is very simple, instructions can be found here: http://www.json.org/js.html 2013/12/7 Megh Parikh > How to use XML (or JSON) file from internet and interpret it? > > Also why have extensions not been reviewed from a long time > > _