source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/common/autoidx-kimber.xsl@ 15c7d39

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.5 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 15c7d39 was 15c7d39, checked in by Matthew Burgess <matthew@…>, 11 years ago

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 1.6 KB
Line 
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(&lang;, &primary;)"/>
43
44</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.