Skip to content

att.internetMedia

provides attributes for specifying the type of a computer resource using a standard taxonomy.

Module tei

Attributes

@mimeTypespecifies the applicable multimedia internet mail extension (MIME) media type.
Status
Optional
Datatype
1–∞ occurrences of teidata.word separated by whitespace

Classes and content

Used by
Members

Note

This attribute class provides an attribute for describing a computer resource, typically available over the internet, using a value taken from a standard taxonomy. At present only a single taxonomy is supported, the Multipurpose Internet Mail Extensions (MIME) Media Type system. This typology of media types is defined by the Internet Engineering Task Force in RFC 2046. The list of types is maintained by the Internet Assigned Numbers Authority (IANA). The @mimeType attribute must have a value taken from this list.

Example

In this example @mimeType is used to indicate that the URL points to a TEI XML file encoded in UTF-8.

<ref mimeType="application/tei+xml; charset=UTF-8" target="https://raw.githubusercontent.com/TEIC/TEI/dev/P5/Source/guidelines-en.xml"/>