From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Filename extension.xml
Internet media typeapplication/xml[1]
Uniform Type Identifier (UTI)public.xml
UTI conformationpublic.text
Developed byWorld Wide Web Consortium
Type of formatMarkup language
Extended fromSGML
Extended toNumerous, including:
Standard1.0 (Fifth Edition) November 26, 2008; 10 years ago (2008-11-26)
1.1 (Second Edition) August 16, 2006; 12 years ago (2006-08-16)
Open format?Yes

The Extensible Markup Language (short XML) is a markup language like HTML but is extensible. It's created by the World Wide Web Consortium (W3C). XML defines rules for the construction of a document. XML adds context to the information in a document. It does not say how this should be displayed.

Some programs get information out of an XML-document. To do that, they need an API. There are many APIs for XML.

You can write a description of an XML document in a way that is useful for programmers. There are several languages for this; the best known is called DTD.

Syntax[change | change source]

XML uses less than (<) and greater than (>) to show tags. For example, a paragraph in HTML would be <p>.

A closing tag is a tag used to enclose the value of the tag. The tag has a slash (/) before its name. For example, </p>

A tag which is empty can be represented as an opening tag but with a slash before the >. For example, <p />

Languages[change | change source]

The following languages are based on XML.

Text[change | change source]

Images[change | change source]

  • SVG (vector graphics)
  • X3D (3D modelling language)
  • Collada (Language to change informations between different 3D programs)

Earth[change | change source]

Multimedia[change | change source]

Safety[change | change source]

Other[change | change source]

There are a lot more languages that use XML. A couple of them are:

Sources[change | change source]

  1. "XML Media Types, RFC 3023". Internet Engineering Task Force. January 2001. pp. 9–11. Retrieved 2010-01-04.
  2. "XML Media Types, RFC 3023". Internet Engineering Task Force. January 2001. pp. 7–9. Retrieved 2010-01-04.

Other websites[change | change source]