]> git.evergreen-ils.org Git - working/Evergreen.git/blob - stylesheets/styleguide/docbook-xsl-1.75.2/params/index.on.role.xml
stylesheet changes.
[working/Evergreen.git] / stylesheets / styleguide / docbook-xsl-1.75.2 / params / index.on.role.xml
1 <refentry xmlns="http://docbook.org/ns/docbook"\r
2           xmlns:xlink="http://www.w3.org/1999/xlink"\r
3           xmlns:xi="http://www.w3.org/2001/XInclude"\r
4           xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"\r
5           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
6           version="5.0" xml:id="index.on.role">\r
7 <refmeta>\r
8 <refentrytitle>index.on.role</refentrytitle>\r
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>\r
10 </refmeta>\r
11 <refnamediv>\r
12 <refname>index.on.role</refname>\r
13 <refpurpose>Select indexterms based on <tag class="attribute">role</tag> value</refpurpose>\r
14 </refnamediv>\r
15 \r
16 <refsynopsisdiv>\r
17 <src:fragment xml:id="index.on.role.frag">\r
18 <xsl:param name="index.on.role" select="0"/>\r
19 </src:fragment>\r
20 </refsynopsisdiv>\r
21 \r
22 <refsection><info><title>Description</title></info>\r
23 \r
24 <para>\r
25 If non-zero, \r
26 then an <tag>index</tag> element that has a\r
27 <tag class="attribute">role</tag> attribute\r
28 value will contain only those <tag>indexterm</tag>\r
29 elements with a matching role value.\r
30 If an <tag>index</tag> has no <tag class="attribute">role</tag>\r
31 attribute or it is blank, then the index will contain\r
32 all <tag>indexterm</tag>s in the current scope.\r
33 </para>\r
34 <para>\r
35 If <literal>index.on.role</literal> is zero, then the\r
36 <tag class="attribute">role</tag> attribute has no effect\r
37 on selecting indexterms for an index.\r
38 </para>\r
39 \r
40 <para>If you are using DocBook version 4.3 or later, you should\r
41 use the <tag class="attribute">type</tag> attribute instead of <tag class="attribute">role</tag>\r
42 on <tag>indexterm</tag> and <tag>index</tag>,\r
43 and set the <parameter>index.on.type</parameter> to a nonzero\r
44 value.\r
45 </para>\r
46 \r
47 </refsection>\r
48 </refentry>\r