Not possible. http://markmail.org/message/ctietfw2mucucdyq#query:spidermonkey%20domparser+... http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_thread/thre... <http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_thread/thread/86b27b854492c22a/237e4ba109d3f69c> On Thu, Apr 22, 2010 at 10:30 AM, Alberto Escudero <aep.lists@it46.se>wrote:
I am resending this mail, hoping that someone has managed to read a XML file from Javascript.
-- Stopping junk mailers is good for the environment
Hi,
After one year using FS i am starting to like XML so i am trying to get a Javascript script to read local XML files.
I am using the XML method and getting Syntax errors from spidermonkey
While something like this works: xmldata = new XML("<tag>foo</tag>");
I have not been able to read and parse XML local files, using File or FileIO methods
A simple example like this returns Syntax error. var foo = apiExecute ("show", "channels as xml"); xmldata = new XML(foo);
Has anyone managed to use the XML method from spidermonkey to read a XML stored file?
There are some E4X bugs around and i wonder if those are the cause of the "Syntax Error" feedback even reading a very basic XML file -- Stopping junk mailers is good for the environment
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org