Rahul Sharma (Editor)

XML and MIME

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

There are two MIME assignments for XML 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 their own MIME type; this convention is defined in (RFC 3023).

    The following are some examples of common XML media types:

  • Registered
  • Extensible HyperText Markup Language (XHTML): application/xhtml+xml (RFC 3236)
  • Atom: application/atom+xml (RFC 4287)
  • Registration-In-Progress
  • Extensible Stylesheet Language Transformations (XSLT): application/xslt+xml
  • Scalable Vector Graphics (SVG): image/svg+xml
  • Unregistered
  • Mathematical Markup Language (MathML): application/mathml+xml
  • Really Simple Syndication (RSS 2.0): application/rss+xml
  • References

    XML and MIME Wikipedia