ECMAScript for XML (E4X) Specification

ECMA has approved the ECMAScript for XML (E4X) Specification, which defines the syntax and semantics of a set of programming language extensions adding native XML support to ECMAScript:

E4X adds native XML datatypes to the ECMAScript language, extends the semantics of familiar ECMAScript operators for manipulating XML objects and adds a small set of new operators for common XML operations, such as searching and filtering. It also adds support for XML literals, namespaces, qualified names and other mechanisms to facilitate XML processing.

E4X goes back to a request by BEA in March 2003.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Eralier E4X appearances

We discussed E4X a couple of time in the past.

How did I find the link? I google searched the old site, and clicked on a message####.html link. Our clever 404 page redirected me to the page holding this item in the static archive!


Sections 5 and 6 giving the motivation and design principles may be of interest.