summaryrefslogtreecommitdiffstats
path: root/documentation/template/gloss-permalinks.xsl
blob: 6bf58116f61e21570b3cb35ab8d3d37f90bcb929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:d="http://docbook.org/ns/docbook"
  xmlns="http://www.w3.org/1999/xhtml">

  <xsl:template match="glossentry/glossterm">
    <xsl:apply-imports/>
    <xsl:if test="$generate.permalink != 0">
      <xsl:call-template name="permalink">
        <xsl:with-param name="node" select=".."/>
      </xsl:call-template>
    </xsl:if>
  </xsl:template>
</xsl:stylesheet>