XML
Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. The World Wide Web Consortium's XML 1.0 Specification of 1998 and several other related specifications —all of them free open standards—define XML. The design goals of XML emphasize simplicity, generality, and usability across the Internet. It is a textual data format with strong support via Unicode for different human languages. Although the design of XML focuses on documents, the language is widely used for the representation of arbitrary data structures, such as those used in web services. Several schema systems exist to aid in the definition of XML-based languages, while programmers have developed many application programming interfaces (APIs) to aid the processing of XML data.
Extensible Markup Language (XML) is a markup language and file format for storing, transmitting, and reconstructing data. It defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. The World Wide Web Consortium's XML 1.0 Specification of 1998 and several other related specifications —all of them free open standards—define XML. The design goals of XML emphasize simplicity, generality, and usability across the Internet. It is a textual data format with strong support via Unicode for different human languages. Although the design of XML focuses on documents, the language is widely used for the representation of arbitrary data structures, such as those used in web services. Several schema systems exist to aid in the definition of XML-based languages, while programmers have developed many application programming interfaces (APIs) to aid the processing of XML data. : An attribute is a markup construct consisting of a name–value pair that exists within a start-tag or empty-element tag. An example is <img src="madonna.jpg" alt="Madonna" /> , where the names of the attributes are "src" and "alt", and their values are "madonna.jpg" and "Madonna" respectively. Another example is <step number="3">Connect A to B.</step> , where the name of the attribute is "number" and its value is "3". An XML attribute can only have a single value and each attribute can appear at most once on each element. In the common situation where a list of multiple values is desired, this must be done by encoding the list into a well-formed XML attribute with some format beyond what XML defines itself. Usually this is either a comma or semi-colon delimited list or, if the individual values are known not to contain spaces, a space-delimited list can be used. An example with space as a delimiter is <div class="inner greeting-box">Welcome!</div> , where the attribute "class" both has the value "inner greeting-box" and also indicates the two CSS class names "inner" and "greeting-box". : XML documents may begin with an XML declaration that describes some information about themselves. An example is <?xml version="1.0" encoding="UTF-8"?> . данные Tag names cannot contain any of the characters !"#$%&'()*+,/;<=>?@[\]^`{|}~ , nor a space character, and cannot begin with "-", ".", or a numeric digit. A single root element contains all the other elements. The definition of an XML document excludes texts that contain violations of well-formedness rules; they are simply not XML. An XML processor that encounters such a violation is required to report such errors and to cease normal processing. This policy, occasionally referred to as "draconian error handling", stands in notable contrast to the behavior of programs that process HTML, which are designed to produce a reasonable result even in the presence of severe markup errors. XML's policy in this area has been criticized as a violation of Postel's law ("Be conservative in what you send; be liberal in what you accept"). 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).
References
- ^ Thompson, H.; Lilley, C. (July 2014). XML Media Types . Internet Engineering Task Force. doi : 10.17487/RFC7303 . RFC 7303 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Cover, Robin (ed.). "XML Applications and Initiatives" . XML Cover Pages . Archived from the original on 2 May 2024 . Retrieved 16 November 2017 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ i.e., embedded quote characters would be a problem Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ A common example of this is CSS class or identifier names. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Bray, T. (April 26, 2003). "Characters vs. Bytes" . Tbray.org . Archived from the original on 26 October 2007 . Retrieved 16 November 2017 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Texin, Tex; Yergeau, François (6 September 2003). "W3C I18N FAQ: HTML, XHTML, XML and Control Codes" . W3C Internationalization . W3C. Archived from the original on 13 December 2018 . Retrieved 16 November 2017 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Pilgrim, Mark (6 August 2010). HTML5: Up and Running: Dive into the Future of Web Development . O'Reilly. p. 10. ISBN 978-1-4493-9966-5 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ "There are No Exceptions to Postel's Law [dive into mark]" . DiveIntoMark.org . Archived from the original on 2011-05-14 . Retrieved 22 April 2013 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ DuCharme, Bob. "Push, Pull, Next!" . Xml.com . Archived from the original on 12 May 2008 . Retrieved 16 November 2017 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Bray, T.; Paoli, J.; Sperberg-McQueen, C. M., eds. (10 February 1998). "Extensible Markup Language (XML) 1.0" (W3C Recommendation) (1st ed.). W3C. Archived from the original on 20 April 2024 . Retrieved 31 October 2019 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Obasanjo, Dare (30 June 2006). "XML Serialization in the .NET Framework" . Microsoft Developer Network . Retrieved 31 July 2009 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ "Processing XML with E4X" . Mozilla Developer Center . Mozilla Foundation. Archived from the original on 2011-05-01 . Retrieved 2010-07-27 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1280185200.0
- ^ "XML Shell: Core Syntax" . Xmlsh.org . 2010-05-13. Archived from the original on 2010-05-03 . Retrieved 22 August 2010 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Klyne, G.; Carroll, J. J., eds. (10 February 2004). "Resource Description Framework (RDF): Concepts and Abstract Syntax" (W3C Recommendation) . W3C. section 5.1. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Kimber, W. Eliot (November 26, 2006). "XML: Ten Year Aniversary" . Dr. Macro's XML Rants . Retrieved 16 November 2017 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ The working group was originally called the "Editorial Review Board". The original members and seven who were added before the first edition was complete, are listed at the end of the first edition of the XML Recommendation ( Bray, Paoli & Sperberg-McQueen 1998 ). Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Sperberg-McQueen, C. M., ed. (4 December 1997). "Reports From the W3C SGML ERB to the SGML WG And from the W3C XML ERB to the XML SIG" . W3C . Retrieved 31 July 2009 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Warwick, C.; Pritchard, E. (2000). " 'Hyped' text markup language. XML and the future of web markup" . ASLIB Proceedings . 52 (5): 174– 184. doi : 10.1108/EUM0000000007012 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Bikakis, N.; Tsinaraki, C.; Gioldasis, N.; Stavrakantonakis, I.; Christodoulakis, S. (2013). "The XML and Semantic Web Worlds: Technologies, Interoperability and Integration: A Survey of the State of the Art" . In Anagnostopoulos, I.; Bieliková, M.; Mylonas, P.; Tsapatsoulis, N. (eds.). Semantic Hyper/Multimedia Adaptation: Schemes and Applications . Studies in Computational Intelligence. Vol. 418. Berlin: Springer. pp. 319– 360. doi : 10.1007/978-3-642-28977-4_12 . ISBN 978-3-642-28977-4 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Manchester, P. (15 February 2008). "Bray recalls team XML" . The Register . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Bosak, Jon (12 April 2003). "The Birth of XML" . Sun Developer Network . Archived from the original on Aug 4, 2012 . Retrieved 16 November 2017 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Bray, T.; Sperberg-McQueen, C. M., eds. (14 November 1996). "Extensible Markup Language (XML)" (W3C Working Draft) . W3C . Retrieved 31 July 2009 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Bosak, Jon (12 July 2006). Closing Keynote . XML 2006. Archived from the original on 2007-07-11 . Retrieved 31 July 2009 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Bray, T.; Paoli, J.; Sperberg-McQueen, C. M.; Maler, E.; Yergeau, F, eds. (4 February 2004). "Extensible Markup Language (XML) 1.0" (W3C Recommendation) (3rd ed.). W3C. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Harold, Elliotte Rusty (2004). Effective XML . Addison-Wesley. pp. 10–19 . ISBN 0-321-15040-6 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Bray, Tim (10 February 2002). "Extensible Markup Language, SW (XML-SW)" . Textuality . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ "MicroXML Community Group" . W3C . 2012-10-01 . Retrieved 2023-08-05 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1691190000.0
- ^ "XML: The Angle Bracket Tax" . Codinghorror.com . 11 May 2008. Archived from the original on 26 February 2014 . Retrieved 16 November 2017 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ "Document license – 2015 version" . W3C . Retrieved 24 July 2020 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ "The Myth of Self-Describing XML" (PDF) . Workflow.HealthBase.info . September 2003 . Retrieved 16 November 2017 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ "What usable alternatives to XML syntax do you know?" . StackOverflow.com . Retrieved 16 November 2017 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Fennell, Philip (June 2013). "Extremes of XML" . XML London 2013 8: 80– 86. doi : 10.14337/XMLLondon13.Fennell01 (inactive 12 July 2025). ISBN 978-0-9926471-0-0 . Archived from the original on Mar 1, 2023. {{ cite journal }} : CS1 maint: DOI inactive as of July 2025 ( link ) CS1 maint: periodical has ISBN ( link ) Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Ambron, Sueann & Hooper, Kristina, eds. (1988). "Publishers, multimedia, and interactivity". Interactive multimedia . Cobb Group. ISBN 1-55615-124-1 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ a b c Bray et al. (2006) , section 1.3. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Bray et al. (2006) , section 2.2. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Bray et al. (2008) . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Bray et al. (2008) , appendix F. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ a b Bray et al. (2008) , section 1.1. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Bray et al. (2008) , section 2.2. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Bray et al. (2008) , section 2.3. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Bray et al. (2008) , section 2.5. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Dykes (2005) , p. 1. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ a b Dykes (2005) , p. 11. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ a b Dykes (2005) , p. 135. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Harold & Means (2002) , p. 29. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ Harold & Means (2002) , p. 8. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ "ISO/IEC 19757-3" (PDF) . ISO / IEC . 1 June 2006. p. vi . Retrieved January 1, 2025 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ World Meteorological Organization (WMO) (2023). Manual on Codes, Volume I.3 – International Codes, Annex II to the WMO Technical Regulations, Part D – Representations derived from data models (Manual). Basic Documents No. 2. Geneva: WMO. p. 272. ISBN 978-92-63-10306-2 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ a b Loshin, P.; Linthicum, D.; Giza, M. (October 2021). "What is XML (Extensible Markup Language)?" . TechTarget WhatIs . Informa. Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ a b Gray, Jim (1 February 2005). "A Conversation with Tim Bray: Searching for ways to tame the world's vast stores of information" . ACM Queue . 3 (1): 20– 25. doi : 10.1145/1046931.1046941 . S2CID 23502115 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- ^ a b Stührenberg, Maik (February 2013). Quo vadis XML? History and possible future directions of the Extensible Markup Language . XML Prague 2013 (PDF) . Prague. pp. 141– 162. ISBN 978-80-260-3872-6 . Wikipedia revision 1374184588, retrieved 2026-11-20 · 1795129200.0
- Extensible Markup Language (XML) 1.0 . W3C . · 1788994800.0
- Stührenberg, Maik. Quo vadis XML? History and possible future directions of the Extensible Markup Language . February 2013. · 1788994800.0
- Pilgrim, Mark. HTML5: Up and Running: Dive into the Future of Web Development . O'Reilly . 6 August 2010. · 1788994800.0
- diveintomark.org . · 1788994800.0
- web.archive.org . (archived copy) · 1788994800.0
- DuCharme, Bob. Push, Pull, Next! . Xml.com . retrieved 16 November 2017 · 1788994800.0
- Obasanjo, Dare. XML Serialization in the .NET Framework . Microsoft Developer Network . 30 June 2006. · 1788994800.0
- Processing XML with E4X . Mozilla Developer Center . retrieved 2 · 1788994800.0
- XML Shell: Core Syntax . Xmlsh.org . 2010-05-13. retrieved 22 August 2010 · 1788994800.0
Cite this
"XML". 1789028229. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1374184588