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.
Filename extension | .xml |
---|---|
Internet media type |
|
Uniform Type Identifier (UTI) | public.xml |
UTI conformation | public.text |
Developed by | World Wide Web Consortium |
Type of format | Markup language |
Extended from | SGML |
Extended to | Numerous, including: XHTML, RSS, Atom, KML |
Standard | 1.0 (Fifth Edition) November 26, 2008 1.1 (Second Edition) August 16, 2006 |
Open format? | Yes |
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.
XML uses less than (<) and greater than (>) to show tags. For example, a paragraph in HTML would be .
A closing tag is a tag used to enclose the value of the tag. The tag has a slash (/) before its name. For example,
A tag which is empty can be represented as an opening tag but with a slash before the >
. For example,
The XML specification defines a valid XML document as a well-formed XML document which also conforms to the rules of a Document Type Definition (DTD).
The following languages are based on XML.
There are a lot more languages that use XML. A couple of them are:
This article uses material from the Wikipedia Simple English article XML, which is released under the Creative Commons Attribution-ShareAlike 3.0 license ("CC BY-SA 3.0"); additional terms may apply (view authors). Content is available under CC BY-SA 4.0 unless otherwise noted. Images, videos and audio are available under their respective licenses.
®Wikipedia is a registered trademark of the Wiki Foundation, Inc. Wiki Simple English (DUHOCTRUNGQUOC.VN) is an independent company and has no affiliation with Wiki Foundation.