<media>

Media Object

Definition

An external file that holds a media object, such as an animation or a movie

The “content” of the <media> element is not the object itself, but merely information about the object. The external file that contains the object is named by the xlink:href attribute.

Remarks

Conversion Note: The position attribute may be used to indicate whether this element must be anchored at its exact location within the text or whether it may float, but best practice is to anchor graphics and media objects. The few media objects that float loose in text should be anchored there, and all the media objects inside figures, tables, etc., should be anchored as well, although the outer structure (figure, boxed-text) may be allowed to float.

Conversion Note: Display component elements, such as <caption>, should always be used at the highest possible level; in other words, if a <media> element is inside a <fig>, the <caption>, <long-desc>, etc., should be part of the <fig>, not part of the <media>. Use a <caption> element on a <media> only when the media object is not enclosed in any other structure or when a figure contains multiple media objects, each of which must have its own <caption>. For similar reasons, the position attribute should be set to “anchor” for a <media> element that is inside a larger display container such as a <fig>.

Attributes

alternate-form-of Alternate Form of Graphic, Media Object, Etc.
id Identifier
mime-subtype Mime Subtype
mimetype Mime Type
position Position
xlink:actuate Actuating the Link
xlink:href Href (Linking Mechanism)
xlink:role Role of the Link
xlink:show Showing the Link
xlink:title Title of the Link
xlink:type Type of Link
xmlns:xlink XLink Namespace Declaration

Related Elements

This DTD Suite contains several elements to describe non-XML material: <graphic>, <inline-graphic>, <media>, and <supplementary-material>. The elements <graphic> and <inline-graphic> are used for “still” images, i.e., photographs, diagrams, etc. The distinction between the two other elements is more subtle. The element <media> should be used for movies, audio clips, or media in other formats which is intrinsic to the document’s content, that is, the media object is discussed within the document. The element <supplementary-material> should be used for films, audio clips, or other material which enhances a document, but which is not discussed as part of the document.

Conversion Note: Unlabeled media objects should be tagged as <media>s, not as <fig>s. A common test to determine whether an object is a Figure <fig> versus a Media Object <media> is to ask, “If there were a ‘List of Figures’ for this article, should this object appear in that list?”

Model Information

Content Model

<!ELEMENT  media        %graphic-model;                              >

Description

Any combination of:

This element may be contained in:

<app> Appendix; <app-group> Appendix Matter; <array> Array (Simple Tabular Array); <body> Body of the Article; <boxed-text> Boxed Text; <chem-struct> Chemical Structure (Display); <chem-struct-wrapper> Chemical Structure Wrapper; <disp-formula> Formula, Display; <disp-quote> Quote, Displayed; <fig> Figure; <fig-group> Figure Group; <gloss-group> Glossary Group; <glossary> Glossary Elements List; <named-content> Named Special (Subject) Content; <notes> Notes; <p> Paragraph; <ref-list> Reference List (Bibliographic Reference List); <sec> Section; <sig> Signature; <sig-block> Signature Block; <supplementary-material> Supplementary Material; <table-wrap> Table Wrapper; <td> Table Data Cell (XHTML table model); <term> Definition List: Term; <th> Table Header Cell (XHTML table model)

Tagged Example

No sample is available at this time.
    

Module

display.ent