Search code examples
xmlmime-typesterminologyfile-format

Name of the content-type of XML-like data


Is there a generic term for hierarchical text data with attributes stored in an XML file? Like bmp and png and jfif files contains raster graphics, wav, mp3 and ogg files contains sound, smf contains music performance data etc. XML-like data can be serialised in different ways. For example, end tags can be written by closing parenthesis, one can use escape characters instead of entities/CDATA sections. It can also be a Matroska, which is some binary encoding of similar structures. The XML files are called "application/xml text/xml" so it is an example of an "Application" file, but any file is an "Application" file.


What about Text resource data? It is generic and probably enlightens the main purpose.


Solution

  • I chose the term TextResource, since it is what it should be used for within the project scope: Documents, Configuration files, etc.