E4X Tutorial

|  | Search W3Schools : |

HOME | HTML | CSS | XML | JAVASCRIPT | ASP | PHP | SQL | MORE... |  | References | Examples | Forum | About

ADVERTISEMENTS XML Certification Download XML editor Custom Programming |  |

Table of contents

E4X Tutorial
E4X Home
E4X HowTo
E4X Why?
E4X Browsers
E4X Example

Selected Reading

Web Statistics
Web Glossary
Web Hosting
Web Quality
W3Schools Tutorials
W3Schools Forum
Helping W3Schools

# E4X Tutorial

1
2
3
4
5
6
7
8
9
10
11
12

E4X is a new extension to JavaScript

E4X adds direct support for XML to JavaScript

E4X is an official JavaScript standard

## What You Should Already Know

Before you continue you should have a basic understanding of the following:

- HTML
- JavaScript
- XML

To study these subjects first, find all the tutorials you need on our Home Page.

## JavaScript = ECMAScript

ECMAScript is the official name for JavaScript.

ECMAScript is the same as JavaScript.

ECMA (The European Computer Manufacturers Association) is the organization standardizing JavaScript.

## E4X = JavaScript for XML

E4X means "ECMAScript For XML". It is a standard extension to ECMAScript.

So in real life E4X means "JavaScript for XML".

## XML As a JavaScript Object

E4X is an official JavaScript standard that adds direct support for XML.

With E4X, you can declare an XML object variable the same way as you declare a Date or an Array object variable:

    var x = new XML()

    var y = new Date()

    var z = new Array()

E4X makes scripting for XML with JavaScript very simple.

Examples are provided in the next chapter.

## E4X is a Web Standard

ECMA-262 (JavaScript 1.3) was standardized in December 1999.

E4X is an extension of JavaScript that adds direct support for XML.

ECMA-357 (E4X) was standardized in June 2004.

Read more about the E4X activities at ECMA International.

## ECMA International

ECMA International was founded in 1961.

The ECMA organization is dedicated to the standardization of Information and Communication Technology (ICT) and Consumer Electronics (CE).

ECMA has developed standards for

- JavaScript
- C# Language
- International Character Sets
- Optical Disks
- Magnetic Tapes
- Data Compression
- Data Communication
- and much more

## Altova® MissionKit® - Integrated suite of XML tools

The Altova MissionKit is a suite of intelligent XML tools, including:

XMLSpy® – industry-leading XML editor

- Support for all XML-based technologies
- Graphical editing views, powerful debuggers, code generation, & more

MapForce® – graphical data mapping tool

- Drag-and-drop data conversion with code generation
- Support for XML, DBs, EDI, Excel® 2007, text, Web services

StyleVision® – visual stylesheet designer

- Drag-and-drop stylesheet design for XML & databases
- Output to HTML, PDF, RTF, Word 2007, & more

And more…

Try before you buy with a free fully functional 30-day trial

Download today

WEB HOSTING
ASP.NET Web Hosting
$15 Domain Name Registration Save $20 / year!
Buy UK Domain Names Register Domain Names
Cheap Domain Names Cheap Web Hosting
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting

WEB BUILDING
Website Templates Flash Templates Website Builder Internet Business Opportunity
Custom Programming
FREE Trial or Demo Web Content Manager Forms,Web Alerts,RSS
Download XML editor
FREE Flash Website
FREE Web Templates

EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification

HOME or Top of Page |  | Printer Friendly
W3Schools is for training only. We do not warrant the correctness of its content. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy. Copyright 1999-2009 by Refsnes Data. All Rights Reserved.