<alternatives> Alternatives For Processing

Container element used to hold a group of processing alternatives, for example, a single <graphic> that ships in several formats (tif, gif, and jpeg) or in different resolutions. This element is a physical grouping to contain multiple logically equivalent (substitutable) versions of the same information object. Typically these are processing alternatives, and the reader is expected to see only one version of the object.


<alternatives> is neither inherently block nor inline in nature, because the block or inline quality is determined by context and usage. A typical example for this element as a block construct is a <graphic> that ships with a document in multiple versions, for example, as a .tif, a .jpeg, and an SVG file or as both a color graphic and a black-and-white. A typical example of an inline alternatives is an <inline-formula> that is available in four forms: as a .tif image (<inline-graphic>), encoded in MathML (<mml:math>), encoded in TeX, and a version in plain ASCII.
This element, by providing a container for alternative versions of a graphic or media object, enables providing a textual alternative to any graphic or media object as well as providing an enlarged graphic version for accessibility.

Base Attributes

Models and Context
May be contained in
Content Model
<!ELEMENT  alternatives %alternatives-model;                         >
Expanded Content Model

((object-id)*, (array | chem-struct | code | graphic | inline-graphic | inline-media | inline-supplementary-material | media | preformat | private-char | supplementary-material | table | oasis:table | textual-form | tex-math | mml:math)+)

Tagged Sample

Equation with 3 alternatives: graphic, accessible graphic, and MathML

<disp-formula id="num00001">
   <graphic xlink:href="http://www.astm.org/HTTP/IMAGES/G0094-05R14_1.gif"
     specific-use="no MathML"/>
   <graphic xlink:href="http://www.astm.org/HTTP/IMAGES/G0094-05R14_1-accessible.gif"
   <mml:math display="block">
      <mml:mi mathvariant="normal">P</mml:mi>
      <mml:mi mathvariant="normal">B</mml:mi>
      <mml:mspace width="0.25em"/>
Related Resources