In computing, Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.
XML has also provided the base language for communication protocols such as XMPP. XML has come into common use for the interchange of data over the Internet.
IETF RFC 7303 gives rules for the construction of Internet Media Types for use when sending XML.
It also defines the media types application/xml and text/xml, which say only that the data is in XML, and nothing about its semantics.
The use of text/xml has been criticized RFC 7303 also recommends that XML-based languages be given media types ending in +xml; for example image/svg+xml for SVG.
Further guidelines for the use of XML in a networked context appear in RFC 3470, also known as IETF BCP 70, a document covering many aspects of designing and deploying an XML-based language.
The material in this section is based on the XML Specification.
This is not an exhaustive list of all the constructs that appear in XML; it provides an introduction to the key constructs most often encountered in day-to-day use.
The processor analyzes the markup and passes structured information to an application.
The specification places requirements on what an XML processor must do and not do, but the application is outside its scope.