encyclopegia.org

ECMAScript for XML

ECMAScript for XML (E4X) was an extension to ECMAScript (which includes ActionScript, JavaScript, and JScript) to add native support for Extensible Markup Language (XML).[5] The goal was to provide a simpler alternative to the Document Object Model (DOM) interface for accessing XML documents.[src] E4X added XML as a primitive data structure to allow faster and easier access to XML manipulation and better support within the language.[5] E4X was standardized by Ecma International in the ECMA-357 standard.[5] The first edition was published in June 2004 and the second edition in December 2005.[src] However, the E4X standard was deprecated by the Mozilla Foundation in 2014, and it was withdrawn by ISO/IEC in 2021.[1] The first implementation of E4X was designed by Terry Lucas and John Schneider and appeared in BEA's Weblogic Workshop 7.0, released in February 2003 .[2] BEA's implementation was based on Rhino and released before the ECMAScript E4X spec was completed in June 2004.[5]

ECMAScript for XML (E4X) was an extension to ECMAScript (which includes ActionScript, JavaScript, and JScript) to add native support for Extensible Markup Language (XML).[5] The goal was to provide a simpler alternative to the Document Object Model (DOM) interface for accessing XML documents.[src] E4X added XML as a primitive data structure to allow faster and easier access to XML manipulation and better support within the language.[5] E4X was standardized by Ecma International in the ECMA-357 standard.[5] The first edition was published in June 2004 and the second edition in December 2005.[src] However, the E4X standard was deprecated by the Mozilla Foundation in 2014, and it was withdrawn by ISO/IEC in 2021.[1] The first implementation of E4X was designed by Terry Lucas and John Schneider and appeared in BEA's Weblogic Workshop 7.0, released in February 2003 .[2] BEA's implementation was based on Rhino and released before the ECMAScript E4X spec was completed in June 2004.[5] ==Browser support== E4X was supported by SpiderMonkey (used in Firefox and Thunderbird).[src] However, E4X was deprecated in Firefox 10 and eventually removed in Firefox 21.[src] E4X was supported by the OpenOffice.org software suite.[src] ==Example== let sales = ; alert(sales.item.(@type == "carrot").@quantity); alert(sales.@vendor); for each(let price in sales..@price) { alert(price); } delete sales.item[0]; sales.item += ; sales.item.(@type == "oranges").@quantity = 4; ==See also== JavaScript XML (JSX) – an XML based markup specifically for DOM manipulation ==References== ==External links== ECMA-357 (withdrawn first edition, second edition) E4X at faqts.com (or via WayBack Machine) Slides from 2005 E4X Presentation by Brendan Eich, Mozilla Chief Architect E4X at Mozilla Developer Center Introducing E4X at xml.com: compares E4X and json Processing XML with E4X at Mozilla Developer Center E4X: Beginner to Advanced at Yahoo Developer Network[1]

20 sentences · 20 cited inline · 6 references stored

References

  1. E4X – Archive of obsolete content – MDN · retrieved 2026-11-17 · rev 1377633944
    Cite this reference

    MLA "E4X – Archive of obsolete content – MDN." 2026-11-17. https://web.archive.org/web/20140724100129/https://developer.mozilla.org/en-US/docs/Archive/Web/E4X. Accessed 25 November 2026.

    Chicago "E4X – Archive of obsolete content – MDN." 2026-11-17. https://web.archive.org/web/20140724100129/https://developer.mozilla.org/en-US/docs/Archive/Web/E4X.

    APA encyclopegia.org. (2026). E4X – Archive of obsolete content – MDN. Retrieved November 25, 2026, from https://web.archive.org/web/20140724100129/https://developer.mozilla.org/en-US/docs/Archive/Web/E4X

  2. Adaptavist · retrieved 2026-11-17 · rev 1377633944
    Cite this reference

    MLA "Adaptavist." A version of the BEA website deep down the IT security firm "Adaptavist". 2026-11-17. https://www.adaptavist.com/. Accessed 25 November 2026.

    Chicago "Adaptavist." A version of the BEA website deep down the IT security firm "Adaptavist". 2026-11-17. https://www.adaptavist.com/.

    APA A version of the BEA website deep down the IT security firm "Adaptavist". (2026). Adaptavist. Retrieved November 25, 2026, from https://www.adaptavist.com/

  3. Firefox 10 for developers · retrieved 2026-11-17 · rev 1377633944
    Cite this reference

    MLA "Firefox 10 for developers." 2026-11-17. https://web.archive.org/web/20120505042844/https://developer.mozilla.org/en/Firefox_10_for_developers#JavaScript. Accessed 25 November 2026.

    Chicago "Firefox 10 for developers." 2026-11-17. https://web.archive.org/web/20120505042844/https://developer.mozilla.org/en/Firefox_10_for_developers#JavaScript.

    APA encyclopegia.org. (2026). Firefox 10 for developers. Retrieved November 25, 2026, from https://web.archive.org/web/20120505042844/https://developer.mozilla.org/en/Firefox_10_for_developers#JavaScript

  4. E4X · retrieved 2026-11-17 · rev 1377633944
    Cite this reference

    MLA "E4X." 2026-11-17. https://web.archive.org/web/20130930214422/https://developer.mozilla.org/en-US/docs/E4X. Accessed 25 November 2026.

    Chicago "E4X." 2026-11-17. https://web.archive.org/web/20130930214422/https://developer.mozilla.org/en-US/docs/E4X.

    APA encyclopegia.org. (2026). E4X. Retrieved November 25, 2026, from https://web.archive.org/web/20130930214422/https://developer.mozilla.org/en-US/docs/E4X

  5. ISO/IEC 22537:2006 Information technology – ECMAscript for XML: E4X specification · retrieved 2024-08-16 · rev 1377633944
    Cite this reference

    MLA "ISO/IEC 22537:2006 Information technology – ECMAscript for XML: E4X specification." a b "ISO/IEC 22537:2006 Information technology – ECMAscript for XML: E4X specification". 2024-08-16. https://www.iso.org/standard/41002.html. Accessed 25 November 2026.

    Chicago "ISO/IEC 22537:2006 Information technology – ECMAscript for XML: E4X specification." a b "ISO/IEC 22537:2006 Information technology – ECMAscript for XML: E4X specification". 2024-08-16. https://www.iso.org/standard/41002.html.

    APA a b "ISO/IEC 22537:2006 Information technology – ECMAscript for XML: E4X specification". (2024). ISO/IEC 22537:2006 Information technology – ECMAscript for XML: E4X specification. Retrieved November 25, 2026, from https://www.iso.org/standard/41002.html

  6. ECMAScript for XML · retrieved 2026-10-19 · rev 1377633944
    Cite this reference

    MLA "ECMAScript for XML." Wikipedia. 2026-10-19. https://en.wikipedia.org/w/index.php?oldid=1377633944. Accessed 25 November 2026.

    Chicago "ECMAScript for XML." Wikipedia. 2026-10-19. https://en.wikipedia.org/w/index.php?oldid=1377633944.

    APA Wikipedia. (2026). ECMAScript for XML. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1377633944

Cite this article

MLA

"ECMAScript for XML." encyclopegia.org, 2026, https://encyclopegia.org/wiki/ecmascript-for-xml. Accessed 25 November 2026.

Chicago

"ECMAScript for XML." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/ecmascript-for-xml.

APA

encyclopegia.org. (2026). ECMAScript for XML. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/ecmascript-for-xml

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
publication date2004Wikipedia
release date2003Wikipedia
release date2004Wikipedia
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1377633944 · 0.5 · snapshot enwiki-001377633944

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.