May 27, 2021 XML
This example applies only to Firefox!
With E4X, you can declare an XML object variable by declaring a Date or Array object variable:
The ECMA Organization (established in 1961) is dedicated to the standardization of information and communications technology (ICT) and consumer electronics (CE). The ECMA standards are:
The following example is a cross-browser instance that loads an existing XML document ("note.xml") into the XML parser and displays a message description:
The following example is the same as the one above, but uses E4X:
It's much easier, isn't it?
Firefox is currently the only browser with better support for E4X.
Opera, Chrome, or Safari are not currently supported by E4X.
So far, there is no indication of E4X support in Internet Explorer.
The E4X does not receive widespread support. Perhaps it provides too few practical features to be covered by other solutions: