]> granicus.if.org Git - docbook-dsssl/commitdiff
Support for special index of terms with matching role attribute.
authorBob Stayton <bobs@sagehill.net>
Sun, 18 Apr 2004 19:46:16 +0000 (19:46 +0000)
committerBob Stayton <bobs@sagehill.net>
Sun, 18 Apr 2004 19:46:16 +0000 (19:46 +0000)
xsl/params/index.on.role.xml [new file with mode: 0644]

diff --git a/xsl/params/index.on.role.xml b/xsl/params/index.on.role.xml
new file mode 100644 (file)
index 0000000..68f6fd7
--- /dev/null
@@ -0,0 +1,36 @@
+<refentry id="index.on.role">
+<refmeta>
+<refentrytitle>index.on.role</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>index.on.role</refname>
+<refpurpose>Select indexterms based on role value</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='index.on.role.frag'>
+<xsl:param name="index.on.role" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>
+If non-zero, 
+then an <sgmltag>index</sgmltag> element that has a
+<sgmltag>role</sgmltag> attribute
+value will contain only those <sgmltag>indexterm</sgmltag>
+elements with a matching role value.
+If an <sgmltag>index</sgmltag> has no <sgmltag>role</sgmltag>
+attribute or it is blank, then the index will contain
+all <sgmltag>indexterm</sgmltag>s in the current scope.
+</para>
+<para>
+If <literal>index.on.role</literal> is zero, then the
+<sgmltag>role</sgmltag> attribute has no effect
+on selecting indexterms for an index.
+</para>
+
+</refsect1>
+</refentry>