Linked by Andrew Youll on Sat 5th Nov 2005 15:39 UTC, submitted by Anonymous
General Development E4X is an extension of JavaScript that adds direct support for XML to the language. So what is direct support and why is it valuable? Get an introduction to ECMAScript for XML (E4X), a simple extension to JavaScript that makes XML scripting very simple.
Order by: Score:
Firefox
by Anonymous on Sat 5th Nov 2005 17:10 UTC
Anonymous
Member since:
---

When will firefox support this extension?

Reply Score: 0

RE: Firefox
by Anonymous on Sat 5th Nov 2005 18:16 UTC in reply to "Firefox"
Anonymous Member since:
---

Firefox 1.5 already supports e4x

Reply Score: 0

confused
by Anonymous on Sat 5th Nov 2005 18:57 UTC
Anonymous
Member since:
---

it's javascript, but you have have Java (Rhino?) in order to run it?

what's that all about?

Reply Score: 0

RE: confused
by BrianH on Sat 5th Nov 2005 21:50 UTC in reply to "confused"
BrianH Member since:
2005-07-06

E4X is an extension to Javascript. That extension is currently implemented by two Javascript engines, the C-based one in Firefox 1.5, and Rhino, an engine written in Java. You need Java to run Rhino because that's what it's written in. This does not mean that they are claiming the language Java is related to the language Javascript.

Reply Score: 1

Great
by santagada on Sun 6th Nov 2005 00:43 UTC
santagada
Member since:
2005-07-06

So, will this be avaliable in Firefox 1.5? Just f*cking great. It looks like ElementTree for python. If they had a tool like Stan to create XML then that would be perfect, for now you can use mochikit for it.

Reply Score: 0

v firefox bloat?
by Anonymous on Sun 6th Nov 2005 01:30 UTC
v RE: firefox bloat?
by Anonymous on Sun 6th Nov 2005 08:43 UTC in reply to "firefox bloat?"
RE[2]: firefox bloat?
by dylansmrjones on Sun 6th Nov 2005 11:25 UTC in reply to "RE: firefox bloat?"
dylansmrjones Member since:
2005-10-02

Well, java and javascript is two very different beasts.

And I consider both beasts to be really good.

There is nothing wrong with either, however some coders seem to know less about coding efficiently than they should. Or they don't have time to optimize the code... (probably the latter one).

Reply Score: 1