XML and MIME
Encyclopedia
There are two MIME
MIME
Multipurpose Internet Mail Extensions is an Internet standard that extends the format of email to support:* Text in character sets other than ASCII* Non-text attachments* Message bodies with multiple parts...

 assignments for XML
XML
Extensible Markup Language is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C, and several other related specifications, all gratis open standards....

 data. These are:
  • application/xml (RFC 3023)
  • text/xml (RFC 3023)


Because of the wide variety of documents that can be expressed using an XML syntax, additional MIME types are needed to differentiate between languages. XML-based formats add a suffix of +xml to the MIME type.

The following are some examples of common XML media types:
  • Registered
    • Extensible HyperText Markup Language (XHTML
      XHTML
      XHTML is a family of XML markup languages that mirror or extend versions of the widely-used Hypertext Markup Language , the language in which web pages are written....

      ): application/xhtml+xml (RFC 3236)
    • Atom
      Atom (standard)
      The name Atom applies to a pair of related standards. The Atom Syndication Format is an XML language used for web feeds, while the Atom Publishing Protocol is a simple HTTP-based protocol for creating and updating web resources.Web feeds allow software programs to check for updates published on a...

      : application/atom+xml (RFC 4287)

  • Registration-In-Progress
    • Extensible Stylesheet Language Transformations (XSLT
      XSL Transformations
      XSLT is a declarative, XML-based language used for the transformation of XML documents. The original document is not changed; rather, a new document is created based on the content of an existing one. The new document may be serialized by the processor in standard XML syntax or in another format,...

      ): application/xslt+xml
    • Scalable Vector Graphics (SVG
      Scalable Vector Graphics
      Scalable Vector Graphics is a family of specifications of an XML-based file format for describing two-dimensional vector graphics, both static and dynamic . The SVG specification is an open standard that has been under development by the World Wide Web Consortium since 1999.SVG images and their...

      ): image/svg+xml

  • Unregistered
    • Mathematical Markup Language (MathML
      MathML
      Mathematical Markup Language is an application of XML for describing mathematical notations and capturing both its structure and content. It aims at integrating mathematical formulae into World Wide Web pages and other documents...

      ): application/mathml+xml
    • Really Simple Syndication (RSS 2.0
      RSS (file format)
      RSS is a family of web feed formats used to publish frequently updated works—such as blog entries, news headlines, audio, and video—in a standardized format...

      ): application/rss+xml

External links


The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK