From 9467f2b2c9c688ec7b6c6b6c864d7ecea4af30c0 Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Sun, 13 Jun 2004 07:34:16 +0000 Subject: [PATCH] Add support for new 'type' attribute on indexterms. --- xsl/params/index.on.type.xml | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 xsl/params/index.on.type.xml diff --git a/xsl/params/index.on.type.xml b/xsl/params/index.on.type.xml new file mode 100644 index 000000000..605f85a84 --- /dev/null +++ b/xsl/params/index.on.type.xml @@ -0,0 +1,47 @@ + + +index.on.type +boolean + + +index.on.type +Select indexterms based on type +attribute value + + + + + + + + +Description + + +If non-zero, +then an index element that has a +type attribute +value will contain only those indexterm +elements with a matching type attribute value. +If an index has no type +attribute or it is blank, then the index will contain +all indexterms in the current scope. + + + +If index.on.type is zero, then the +type attribute has no effect +on selecting indexterms for an index. + + +For those using DocBook version 4.2 or earlier, +the type attribute is not available +for index terms. However, you can achieve the same +effect by using the role attribute +in the same manner on indexterm +and index, and setting the stylesheet parameter +index.on.role to a nonzero value. + + + + -- 2.40.0