Helma Logo
helma.orgwikiE4X
main list history

Version 4 by hannes on 10. October 2005, 00:53

5Introduces XML and XMLList objects add some interesting new operators:
7* foo..bar produces an XMLList containing all descendent bar tags of foofoo anywhere in the document.
8* foo.@bar produces the attribute named bar in element foo.
9* foo.( x == "bar" ) selects all child elements on which the expression evaluates to true.

Version 3 by hannes on 10. October 2005, 00:51

11Maybe most interestingly, E4X <em>"intentionally blurs the distinction between an individual XML object and an XMLList containing only that object"</em>, and it allows operations for single XML elements to be applied to XMLLists by simply applying it 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.

Version 2 by hannes on 10. October 2005, 00:51

3Introduces XML as native type to JavaScript.
4
5Introduces some interesting new operators:
6
7* foo..bar produces an XMLList containing all descendent bar tags of foo
8* foo.@bar produces the attribute named bar in element foo
9* foo.( x == "bar" ) selects all child elements on which the expression evaluates to true
10
11Maybe most interestingly, E4X <em>"intentionally blurs the distinction between an individual XML object and an XMLList containing only that object"</em>, and it allows operations for single XML elements to be applied to XMLLists by simply applying it 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.
12

Version 1 by hannes on 10. October 2005, 00:38

1ECMAScript for XML
3http://www-128.ibm.com/developerworks/webservices/library/ws-ajax1/
4http://developer.mozilla.org/presentations/xtech2005/e4x/
5http://weblog.infoworld.com/udell/2004/09/29.html