There are various types of media in XML. Some of them:
- XHTML (Extensible Hypertext Markup Language)
application/xhtml+xml - SVG (scalable vector graphics)
image/svg+xml - RSS (really simple syndication)
application/rss+xml
Each MIME type identifies a different language.
RFC 3023 standardizes the convention on the use of the suffix + xml, as you correctly pointed out.
Paraphrased from a wikipedia article - XML and MIME .
Update: Fixed the incorrect assumption that JSON is not used as an alternative representation for XML.
There are alternative MIME types with the widely used suffix +json . And, as rightly noted, they will continue to grow, given JSON.
The +json suffix convention is non-standard, but used by others.
source share