~ubuntu-branches/ubuntu/lucid/virtuoso-opensource/lucid

« back to all changes in this revision

Viewing changes to docsrc/stylesheets/docbook/common/autoidx-kimber.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-02-05 01:22:09 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100205012209-h2dhz20vxpx55oam
Tags: 6.1.0-0ubuntu1
* New upstream release
* Sync with Debian packaging from Git
 - Add no_do_os_calls.diff patch, don't allow do_os_calls
 - Install to /usr/lib/virtuoso instead of /usr/bin, not a user
   binary
 - virtuoso-t installed to /usr/lib/virtuoso/
* Update build-gmake-to-make.patch
* Add package virtuoso-nepomuk to install only the files needed by nepomuk
* Remove virtuoso-nepomuk files from virtuoso-opensource-6.0-bin and libvirtodbc0
* Add virtuoso-opensource-6.0-bin.links to link to virtuoso-t from /usr/bin
* libvirtodbc0 and virtuoso-opensource-6.0-bin depends on virtuoso-nepomuk
* Remove build-dep on libwbxml2-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!DOCTYPE xsl:stylesheet [
 
3
<!ENTITY primary   'normalize-space(concat(primary/@sortas, primary[not(@sortas)]))'>
 
4
<!-- Documents using the kimber index method must have a lang attribute -->
 
5
<!-- Only one of these should be present in the entity -->
 
6
 
 
7
<!ENTITY lang 'concat(/*/@lang, /*/@xml:lang)'>
 
8
]>
 
9
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 
10
                version="1.0"
 
11
                xmlns:k="java:com.isogen.saxoni18n.Saxoni18nService"
 
12
                exclude-result-prefixes="k">
 
13
 
 
14
<!-- ********************************************************************
 
15
     $Id: autoidx-kimber.xsl,v 1.1.2.2 2010/01/04 11:24:42 source Exp $
 
16
     ********************************************************************
 
17
 
 
18
     This file is part of the DocBook XSL Stylesheet distribution.
 
19
     See ../README or http://docbook.sf.net/ for copyright
 
20
     copyright and other information.
 
21
 
 
22
     ******************************************************************** -->
 
23
 
 
24
<xsl:param name="kimber.imported">
 
25
  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
 
26
  <xsl:choose>
 
27
    <xsl:when test="not(contains($vendor, 'SAXON '))">
 
28
      <xsl:message terminate="yes">
 
29
        <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text>
 
30
        <xsl:text>Saxon version 6 or 8 XSLT processor.</xsl:text>
 
31
      </xsl:message>
 
32
    </xsl:when>
 
33
    <xsl:otherwise>1</xsl:otherwise>
 
34
  </xsl:choose>
 
35
</xsl:param>
 
36
 
 
37
 
 
38
<!-- The following key used in the kimber indexing method. -->
 
39
<xsl:key name="k-group"
 
40
         match="indexterm"
 
41
         use="k:getIndexGroupKey(&lang;, &primary;)"/>
 
42
 
 
43
</xsl:stylesheet>