E4X Tutorial

E4X is a new extension for JavaScript.

E4X adds direct support for XML to JavaScript.

E4X is a formal JavaScript standard.

Knowledge you should have mastered before:

Before learning new content, you should have a basic understanding of the following knowledge points.

  • HTML
  • JavaScript
  • XML

If you are interested in learning these projects first, you canHome PageFind tutorials related to these projects.

JavaScript = ECMAScript

ECMAScript is the formal naming of JavaScript.

ECMAScript is equivalent to JavaScript.

ECMA (European Computer Manufacturers Association) is the standardization organization for JavaScript.

E4X = JavaScript for XML

E4X stands for 'ECMAScript for XML' (ECMAScript For XML). It is a standard extension of ECMAScript.

Therefore, in real life, E4X means 'JavaScript for XML' (JavaScript for XML).

Use XML as a JavaScript object

E4X is a formal standard that adds support for XML to JavaScript.

Through E4X, you can declare XML object variables in the same way as you originally declared date or array object variables

var x = new XML()
var y = new Date()
var z = new Array()

E4X makes it very easy to create JavaScript for XML.

In the next chapter, we will provide you with some examples.

E4X is a WEB standard

ECMA-262 (JavaScript 1.3) was established as a standard in November 1999.

E4X is an extended JavaScript that adds direct support for XML.

ECMA-357 (E4X) was established as a standard in June 2004.

ECMA International

ECMA International was established in 1961.

The ECMA organization is committed to the standardization of information and communication technology (ICT) and consumer electronics (CE).

ECMA has established the following standards

  • JavaScript
  • C# Language (C# Language)
  • International Character Sets (International Character Sets)
  • Optical Disks (Optical Disks)
  • Magnetic Tapes (Magnetic Tapes)
  • Data Compression (Data Compression)
  • Data Communication (Data Communication)
  • Others