1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>index.on.type</title><link rel="stylesheet" href="reference.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: ReferenceDocumentation"><link rel="up" href="toc_index.html" title="ToC/LoT/Index Generation"><link rel="prev" href="index.method.html" title="index.method"><link rel="next" href="index.on.role.html" title="index.on.role"><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.type</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="index.method.html">Prev</a></td><th width="60%" align="center">ToC/LoT/Index Generation</th><td width="20%" align="right"><a accesskey="n" href="index.on.role.html">Next</a></td></tr></table><hr></div><div class="refentry" title="index.on.type"><a name="index.on.type"></a><div class="titlepage"></div>
<div class="refnamediv"><h2><span class="refentrytitle">index.on.type</span></h2><p>
index.on.type
— Select indexterms based on <code class="sgmltag-attribute">type</code>
attribute value
</p></div>
<div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2>
<a name="index.on.type.frag"></a><pre class="programlisting">
<xsl:param name="index.on.type" select="0"></xsl:param>
</pre>
</div>
<div class="refsection" title="Description"><a name="id1380216"></a><h2>Description</h2>
<p>
If non-zero,
then an <a href="http://docbook.org/tdg5/en/html/index.html"><code class="sgmltag-element">index</code></a> element that has a
<code class="sgmltag-attribute">type</code> attribute
value will contain only those <a href="http://docbook.org/tdg5/en/html/indexterm.html"><code class="sgmltag-element">indexterm</code></a>
elements with a matching <code class="sgmltag-attribute">type</code> attribute value.
If an <a href="http://docbook.org/tdg5/en/html/index.html"><code class="sgmltag-element">index</code></a> has no <code class="sgmltag-attribute">type</code>
attribute or it is blank, then the index will contain
all <a href="http://docbook.org/tdg5/en/html/indexterm.html"><code class="sgmltag-element">indexterm</code></a>s in the current scope.
</p>
<p>
If <code class="literal">index.on.type</code> is zero, then the
<code class="sgmltag-attribute">type</code> attribute has no effect
on selecting indexterms for an index.
</p>
<p>For those using DocBook version 4.2 or earlier,
the <code class="sgmltag-attribute">type</code> attribute is not available
for index terms. However, you can achieve the same
effect by using the <code class="sgmltag-attribute">role</code> attribute
in the same manner on <a href="http://docbook.org/tdg5/en/html/indexterm.html"><code class="sgmltag-element">indexterm</code></a>
and <a href="http://docbook.org/tdg5/en/html/index.html"><code class="sgmltag-element">index</code></a>, and setting the stylesheet parameter
<a href="../html/index.on.role.html"><em class="parameter"><code>index.on.role</code></em></a> 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.method.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="toc_index.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="index.on.role.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">index.method</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">index.on.role</td></tr></table></div></body></html>
|