From: Bob Stayton Date: Sun, 13 Jun 2004 07:34:16 +0000 (+0000) Subject: Add support for new 'type' attribute on indexterms. X-Git-Tag: release/1.79.1~6^2~4173 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ddea68d1178b2c18d878ad7aca4e83fa445988d;p=docbook-dsssl Add support for new 'type' attribute on indexterms. --- 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. + + + +