<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.

Attribute

originator Originator

Model Description

One or more of any of:

This element may be contained in:

<ack>, <addr-line>, <app>, <app-group>, <array>, <article-title>, <attrib>, <award-id>, <bio>, <body>, <bold>, <boxed-text>, <chem-struct>, <chem-struct-wrap>, <collab>, <comment>, <compl>, <def-head>, <disp-formula>, <disp-quote>, <element-citation>, <fig>, <fig-group>, <full>, <funding-source>, <glossary>, <inline-formula>, <intro>, <italic>, <label>, <license-p>, <main>, <meta-value>, <mixed-citation>, <monospace>, <named-content>, <non-normative-example>, <non-normative-note>, <notes>, <overline>, <p>, <ref-list>, <roman>, <sans-serif>, <sc>, <sec>, <sig-block>, <strike>, <styled-content>, <sub>, <subtitle>, <sup>, <supplement>, <supplementary-material>, <table-wrap>, <td>, <term>, <term-display>, <term-head>, <term-sec>, <th>, <title>, <trans-title>, <underline>, <verse-line>

Example

In the following example, the <alternatives> element is used to wrap a mathematical expression encoded in MathML with a graphic image of the same expression for use in environments where MathML is not supported.

...
    <p>The following discussion makes use of
      some properties of the three-by-three identity matrix:</p>
    <disp-formula>
    <alternatives>
    <mml:math>
      <mml:mrow>
	<mml:mo> ( </mml:mo>
	<mml:mtable>
	  <mml:mtr>
	    <mml:mtd> <mml:mn>1</mml:mn> </mml:mtd>
	    <mml:mtd> <mml:mn>0</mml:mn> </mml:mtd>
	    <mml:mtd> <mml:mn>0</mml:mn> </mml:mtd>
	  </mml:mtr>
	  <mml:mtr>
	    <mml:mtd> <mml:mn>0</mml:mn> </mml:mtd>
	    <mml:mtd> <mml:mn>1</mml:mn> </mml:mtd>
	    <mml:mtd> <mml:mn>0</mml:mn> </mml:mtd>
	  </mml:mtr>
	  <mml:mtr>
	    <mml:mtd> <mml:mn>0</mml:mn> </mml:mtd>
	    <mml:mtd> <mml:mn>0</mml:mn> </mml:mtd>
	    <mml:mtd> <mml:mn>1</mml:mn> </mml:mtd>
	  </mml:mtr>
	</mml:mtable>
	<mml:mo> ) </mml:mo>
      </mml:mrow>
    </mml:math>
      <graphic xlink:href="images/identity-matrix">
	<alt-text>A three-by-three identity matrix.</alt-text>
	<permissions>
	  <copyright-statement>&copy; 1998-2003 W3C &reg; (MIT, ERCIM,
	  Keio); used by permission</copyright-statement>
	  <copyright-year>1998-2003</copyright-year>
	  <copyright-holder>W3C &reg; (MIT, ERCIM,
	  Keio)</copyright-holder>
	</permissions>
      </graphic>
    </alternatives>
    </disp-formula>
    <p>
      Analogous observations hold for identity matrices of different sizes.
    </p>
   ...

The graphic rendering of the mathematical expression is:

(MathML example and graphic from Mathematical Markup Language (MathML) Version 2.0 (Second Edition), W3C Recommendation 21 October 2003, ed. David Carlisle et al., © 1998-2003 W3C® (MIT, ERCIM, Keio), all rights reserved. Used by permission.)

Module

JATS-common0.ent