XML—the Extensible Markup Language

XML is a standard way of representing information that can be stored in a file or shared between machines. Computers have been storing and sharing information since they were first created. In the past, people who wrote software invented their own formats for sharing information. Imagine a language translation program that stores its dictionary in a file. The file will contain words in English and their translations into another language, say, Italian.

That file can be formatted any number of ways. For example, it might have each English word and its Italian translation on one line, separated by a colon:

a: un, uno, una
aardvark: oritteropo

Alternatively, the file could have an English word on one line, the Italian ...

Get The Book of JavaScript, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.