<media>

<media> indicates the location of any form of external media such as an audio or video clip etc. [3.9 Graphics and Other Non-textual Components]
組件core — Elements Available in All TEI Documents
屬性att.typed (@type, @subtype) att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.resourced (@url) att.declaring (@decls) att.timed (@start, @end) (att.duration (att.duration.w3c (@dur)) (att.duration.iso (@dur-iso)) ) att.media (@width, @height, @scale)
mimeType(MIME media type) MIME協定種類
Derived fromatt.internetMedia
狀態 必備的
資料類型 1–∞ 次可出現: teidata.word 以空白鍵隔開
俱乐部会员
可包含在於
analysis: cl phr s
gaiji: char glyph
linking: ab seg
tagdocs: eg
textcrit: lem rdg wit witDetail
verse: rhyme
可包含
core: desc

The attributes available for this element are not appropriate in all cases. For example, it makes no sense to specify the temporal duration of a graphic. Such errors are not currently detected.

The mimeType attribute must be used to specify the MIME media type of the resource specified by the url attribute.

例子
<figure>
 <media type="graphicmimeType="image/png"
  url="fig1.png"/>

 <head>維納斯</head>
 <figDesc> 波提且利 1484-1486年 畫布、蛋彩 佛羅倫斯,烏菲滋美術館</figDesc>
</figure>
Content model
<content>
 <classRef key="model.descLike"
  minOccurs="0maxOccurs="unbounded"/>

</content>
宣告
<rng:element name="media">
 <rng:ref name="att.typed.attributes"/>
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.resourced.attributes"/>
 <rng:ref name="att.declaring.attributes"/>
 <rng:ref name="att.timed.attributes"/>
 <rng:ref name="att.duration.w3c.attributes"/>
 <rng:ref name="att.duration.iso.attributes"/>
 <rng:ref name="att.media.attribute.width"/>
 <rng:ref name="att.media.attribute.height"/>
 <rng:ref name="att.media.attribute.scale"/>
 <rng:attribute name="mimeType">
  <rng:list>
   <rng:oneOrMore>
    <rng:ref name="teidata.word"/>
   </rng:oneOrMore>
  </rng:list>
 </rng:attribute>
 <rng:zeroOrMore>
  <rng:ref name="model.descLike"/>
 </rng:zeroOrMore>
</rng:element>
element media
{
   att.typed.attributes,
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.resourced.attributes,
   att.declaring.attributes,
   att.timed.attributes,
   att.duration.w3c.attributes,
   att.duration.iso.attributes,
   att.media.attribute.width,
   att.media.attribute.height,
   att.media.attribute.scale,
   attribute mimeType { list { teidata.word+ } },
   model.descLike*
}