釋疑
ECMAScript for XML (E4X)是一擴展了ECMAScript(JavaScript)的程式語言,它增加本地XML支持,為ECMAScript程式設計師提供了一種感覺直觀的方式來訪問XML文檔。它的目標是提供一種使用簡潔語法的DOM接口用於訪問XML文檔。E4X 又稱為 ECMA-357 標準,和 ECMA-262 標準一樣,是歐洲計算機製造商協會(ECMA)發表.
----------------------------下面這段引用自國外網站,歡迎英語高手翻譯一下------------------
is a programming language extension that adds native XML support to ECMAScript (JavaScript). It does this by providing access to the XML document in a form that feels natural for ECMAScript programmers. The goal is to provide an alternative to DOM interfaces that uses a simpler syntax for accessing XML documents. It also offers a new way of making XML visible. Before the release of E4X XML was always accessed at an object level. E4X changed that. It treats XML as a primitive (equivalent to a character, integer, or boolean). This implies faster access, better support, and acceptance as a building block (data structure) of a program. E4X is standardized by Ecma International in ECMA-357 standard. The first edition was published in June 2004, the second edition in December 2005.
------------------------------------------------------------------------------------------