2 <!DOCTYPE xsl:stylesheet [
 
   3 <!ENTITY % common.entities SYSTEM "entities.ent">
 
   5 <!-- Documents using the kimber index method must have a lang attribute -->
 
   6 <!-- Only one of these should be present in the entity -->
 
   8 <!ENTITY lang 'concat(/*/@lang, /*/@xml:lang)'>
 
  10 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 
  12                 xmlns:k="java:com.isogen.saxoni18n.Saxoni18nService"
 
  13                 exclude-result-prefixes="k">
 
  15 <!-- ********************************************************************
 
  16      $Id: autoidx-kimber.xsl 8729 2010-07-15 16:43:56Z bobstayton $
 
  17      ********************************************************************
 
  19      This file is part of the DocBook XSL Stylesheet distribution.
 
  20      See ../README or http://docbook.sf.net/ for copyright
 
  21      copyright and other information.
 
  23      ******************************************************************** -->
 
  25 <xsl:param name="kimber.imported">
 
  26   <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
 
  28     <xsl:when test="not(contains($vendor, 'SAXON '))">
 
  29       <xsl:message terminate="yes">
 
  30         <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text>
 
  31         <xsl:text>Saxon version 6 or 8 XSLT processor.</xsl:text>
 
  34     <xsl:otherwise>1</xsl:otherwise>
 
  39 <!-- The following key used in the kimber indexing method. -->
 
  40 <xsl:key name="k-group"
 
  42          use="k:getIndexGroupKey(⟨, &primary;)"/>