OLD | NEW |
| (Empty) |
1 <?xml version="1.0"?> | |
2 <!DOCTYPE xsl:stylesheet [ | |
3 <!ENTITY % common.entities SYSTEM "entities.ent"> | |
4 %common.entities; | |
5 <!-- Documents using the kimber index method must have a lang attribute --> | |
6 <!-- Only one of these should be present in the entity --> | |
7 | |
8 <!ENTITY lang 'concat(/*/@lang, /*/@xml:lang)'> | |
9 ]> | |
10 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
11 version="1.0" | |
12 xmlns:k="java:com.isogen.saxoni18n.Saxoni18nService" | |
13 exclude-result-prefixes="k"> | |
14 | |
15 <!-- ******************************************************************** | |
16 $Id: autoidx-kimber.xsl 8729 2010-07-15 16:43:56Z bobstayton $ | |
17 ******************************************************************** | |
18 | |
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. | |
22 | |
23 ******************************************************************** --> | |
24 | |
25 <xsl:param name="kimber.imported"> | |
26 <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> | |
27 <xsl:choose> | |
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> | |
32 </xsl:message> | |
33 </xsl:when> | |
34 <xsl:otherwise>1</xsl:otherwise> | |
35 </xsl:choose> | |
36 </xsl:param> | |
37 | |
38 | |
39 <!-- The following key used in the kimber indexing method. --> | |
40 <xsl:key name="k-group" | |
41 match="indexterm" | |
42 use="k:getIndexGroupKey(⟨, &primary;)"/> | |
43 | |
44 </xsl:stylesheet> | |
OLD | NEW |