XML

<tr><th scope="row" style="padding:0.2em 0;line-height:1.2em; padding-right:0.65em;">Uniform Type Identifier (UTI)</th><td style="line-height:1.35em;">public.xml</td></tr><tr><th scope="row" style="padding:0.2em 0;line-height:1.2em; padding-right:0.65em;">UTI conformation</th><td style="line-height:1.35em;">public.text</td></tr><tr><th scope="row" style="padding:0.2em 0;line-height:1.2em; padding-right:0.65em;">Developed by</th><td style="line-height:1.35em;">World Wide Web Consortium</td></tr><tr><th scope="row" style="padding:0.2em 0;line-height:1.2em; padding-right:0.65em;">Type of format</th><td style="line-height:1.35em;">Markup language</td></tr><tr><th scope="row" style="padding:0.2em 0;line-height:1.2em; padding-right:0.65em;">Extended from</th><td style="line-height:1.35em;">SGML</td></tr><tr><th scope="row" style="padding:0.2em 0;line-height:1.2em; padding-right:0.65em;">Extended to</th><td style="line-height:1.35em;">Numerous, including:
XHTML, RSS, Atom, KML</td></tr><tr><th scope="row" style="padding:0.2em 0;line-height:1.2em; padding-right:0.65em;">Standard</th><td style="line-height:1.35em;">1.0 (Fifth Edition) November 26, 2008; 11 years ago (2008-11-26)
1.1 (Second Edition) August 16, 2006; 13 years ago (2006-08-16)</td></tr><tr><th scope="row" style="padding:0.2em 0;line-height:1.2em; padding-right:0.65em;">Open format?</th><td style="line-height:1.35em;">Yes</td></tr></table>

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

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

The following languages are based on XML.

Text

Images

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

Earth

Multimedia

  • SMIL (Informations with times from multimedia)
  • MPEG-7 (for MPEG-7)
  • Laszlo (LZX)

Safety

Other

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

Sources

  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


XML
250px
Filename extension.xml
Internet media type<code>application/xml[1]
text/xml[2]</code>