inlinemediaobject — An inline media object (video, audio, image, and so on).


inlinemediaobject ::=


The inlinemediaobject element contains a set of alternative “graphical objects”: videoobject, audioobject, and imageobject. Additional textual descriptions may be provided with textobjects.

An inlinemediaobject provides a wrapper for a set of alternative presentations for some, usually graphical, information. It is the “inline” equivalent of mediaobject.

In almost all contexts where text is allowed, inlinemediaobject is also allowed. This allows an author to provide a graphic for a character or glyph—for example, one that is not available in the publisher’s fonts or perhaps is not available in Unicode. Authors should exercise care when using inlinemediaobject for this purpose as graphics may be difficult or impossible to display in some contexts on some presentation systems.

Processing expectations

Formatted inline.

If possible, the processing system should use the content of the first object within the inlinemediaobject. If the first object cannot be used, the remaining objects should be considered in the order that they occur. A processor should use the first object that it can, although it is free to choose any of the remaining objects if the primary one cannot be used.

Under no circumstances may more than one object in an inlinemediaobject be used or presented at the same time.

For example, an inlinemediaobject might contain a high-resolution image, a low-resolution image, and a text description. For print publishing, the high-resolution image is used; for online systems, either the high- or low-resolution image is used, possibly including the text description as an online alternative. In a text-only environment, the text description is used.


The following elements occur in inlinemediaobject: alt, audioobject, imageobject, imageobjectco, info (, textobject, videoobject.


<?xml version="1.0" encoding="UTF-8"?>
<article xmlns="">
<title>Example inlinemediaobject</title>

<para>Einstein's most famous equation,
    <imageobject condition="print">
      <imagedata fileref="figs/print/db5d_refeqn03.pdf"/>
    <imageobject condition="web">
      <imagedata fileref="figs/web/db5d_refeqn03.png"/>
  </inlineequation>, expresses the relationship between matter and energy.


Einstein's most famous equation, E=mc2, expresses the relationship between matter and energy.

Last revised by Norman Walsh on (git hash: c3457cab689d8fd89ba4252de204cf9a14e40acd 6a501344525f32f9834f0e4a5c3c3f8131803fa4 47fe34b28bad7941a61b9c1c17d47f6eed36cd04)