XML

From WikiTech, the free technology encyclopedia

Markup language for structured documents and data

3 sources from W3C and Encyclopaedia Britannica. Checked by ByteExplained editors on 3 December 2026. How we check facts

XML (Extensible Markup Language) is a format for describing the structure of documents and data using tags, published as a standard by the World Wide Web Consortium (W3C).[1] It was created because HTML, the language of web pages, could not be extended with new kinds of text elements.[3]

Contents
  1. History
  2. How it works
  3. See also
  4. References

History

XML is a simplified subset of SGML, an older international standard for structured documents (ISO 8879:1986).[1] It was developed by the W3C XML Working Group, which included Adobe, Microsoft, Sun Microsystems and Netscape alongside experts in electronic publishing.[1] Jon Bosak of Sun chaired the group, and the specification was edited by Tim Bray, Jean Paoli and C. M. Sperberg-McQueen.[1][2] The W3C issued XML 1.0 as a Recommendation on 10 February 1998.[1]

Its designers set out ten goals, including that XML should be easy to use over the Internet, readable by humans, easy to write programs for, and compatible with SGML.[2] It was aimed especially at large web content providers, for uses such as industry-specific markup and exchanging data between different vendors' systems.[1] XML requires support for Unicode, so it can handle text in many languages.[1]

How it works

An XML document is made of elements. Each element is marked by a start-tag and an end-tag, or by a single empty-element tag, and may carry attributes, which are name-and-value pairs.[2] The XML standard defines only how tags are written, not what they mean, so authors can create their own tags for their own purposes.[2][3] Every element must be properly closed, which makes documents easier for software to process.[3] A document type definition (DTD) can be used to set out which tags a type of document may contain.[3]

See also

References

  1. ^ The World Wide Web Consortium Issues XML 1.0 as a W3C Recommendation. W3C. 1998-02-10. w3.org
  2. ^ Extensible Markup Language (XML) 1.0. W3C. 1998-02-10. w3.org
  3. ^ XML. Encyclopaedia Britannica. britannica.com
Technologies on WikiTech
Internet
All technologies