Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > 6e019a662639ac6470f50dea3a4d8157 > files > 714

docbook-style-xsl-doc-1.79.2-4.mga7.noarch.rpm

<html><head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <title>preferred.mediaobject.role</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.79.2"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference&nbsp;Documentation"><link rel="up" href="graphics.html" title="Graphics"><link rel="prev" href="make.graphic.viewport.html" title="make.graphic.viewport"><link rel="next" href="link.to.self.for.mediaobject.html" title="link.to.self.for.mediaobject"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">preferred.mediaobject.role</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="make.graphic.viewport.html">Prev</a>&nbsp;</td><th width="60%" align="center">Graphics</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="link.to.self.for.mediaobject.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="preferred.mediaobject.role"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">preferred.mediaobject.role</span></h2><p>preferred.mediaobject.role &#8212; Select which mediaobject to use based on
this value of an object's <code class="sgmltag-attribute">role</code> attribute.
</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><a name="preferred.mediaobject.role.frag"></a><pre class="programlisting">
&lt;xsl:param name="preferred.mediaobject.role"&gt;&lt;/xsl:param&gt;
</pre></div><div class="refsection"><a name="d0e8110"></a><h2>Description</h2><p>A mediaobject may contain several objects such as imageobjects.
If the parameter <em class="parameter"><code>use.role.for.mediaobject</code></em> is
non-zero, then the <code class="literal">role</code> attribute on
<code class="sgmltag-element">imageobject</code>s and other objects within a
<code class="sgmltag-element">mediaobject</code> container will be used to select which object
will be used.  If one of the objects has a role value that matches the
<em class="parameter"><code>preferred.mediaobject.role</code></em> parameter, then it
has first priority for selection.  If more than one has such a role
value, the first one is used.
</p><p>
See the <em class="parameter"><code>use.role.for.mediaobject</code></em> parameter
for the sequence of selection.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="make.graphic.viewport.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="graphics.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="link.to.self.for.mediaobject.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">make.graphic.viewport&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;link.to.self.for.mediaobject</td></tr></table></div></body></html>