Helma Logo
helma.orgwikiE4X
main list history

E4X

ECMAScript for XML

Introduces XML as native type to JavaScript.

XML and XMLList objects add some interesting new operators:

Maybe most interestingly, E4X "intentionally blurs the distinction between an individual XML object and an XMLList containing only that object", and it allows operations for single XML elements to be applied to XMLLists by simply forward-applying them to all contained elements. This way, an single expression can be used to get a list of multiply nested elements where it would take multiple nested loops otherwise.

http://www-128.ibm.com/developerworks/webservices/library/ws-ajax1/
http://developer.mozilla.org/presentations/xtech2005/e4x/
http://weblog.infoworld.com/udell/2004/09/29.html