Sophie

Sophie

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

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>index.on.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="toc_index.html" title="ToC/LoT/Index Generation"><link rel="prev" href="index.on.type.html" title="index.on.type"><link rel="next" href="index.links.to.section.html" title="index.links.to.section"><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">index.on.role</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.on.type.html">Prev</a>&nbsp;</td><th width="60%" align="center">ToC/LoT/Index Generation</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="index.links.to.section.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="index.on.role"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">index.on.role</span></h2><p>index.on.role &#8212; Select indexterms based on <code class="sgmltag-attribute">role</code> value</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><a name="index.on.role.frag"></a><pre class="programlisting">
&lt;xsl:param name="index.on.role" select="0"&gt;&lt;/xsl:param&gt;
</pre></div><div class="refsection"><a name="d0e1306"></a><h2>Description</h2><p>
If non-zero, 
then an <code class="sgmltag-element">index</code> element that has a
<code class="sgmltag-attribute">role</code> attribute
value will contain only those <code class="sgmltag-element">indexterm</code>
elements with a matching role value.
If an <code class="sgmltag-element">index</code> has no <code class="sgmltag-attribute">role</code>
attribute or it is blank, then the index will contain
all <code class="sgmltag-element">indexterm</code>s in the current scope.
</p><p>
If <code class="literal">index.on.role</code> is zero, then the
<code class="sgmltag-attribute">role</code> attribute has no effect
on selecting indexterms for an index.
</p><p>If you are using DocBook version 4.3 or later, you should
use the <code class="sgmltag-attribute">type</code> attribute instead of <code class="sgmltag-attribute">role</code>
on <code class="sgmltag-element">indexterm</code> and <code class="sgmltag-element">index</code>,
and set the <em class="parameter"><code>index.on.type</code></em> to a nonzero
value.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="index.on.type.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="u" href="toc_index.html">Up</a></td><td width="40%" align="right">&nbsp;<a accesskey="n" href="index.links.to.section.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">index.on.type&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;index.links.to.section</td></tr></table></div></body></html>