diff options
Diffstat (limited to 'yocto-poky/documentation/template/gloss-permalinks.xsl')
-rw-r--r-- | yocto-poky/documentation/template/gloss-permalinks.xsl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/yocto-poky/documentation/template/gloss-permalinks.xsl b/yocto-poky/documentation/template/gloss-permalinks.xsl new file mode 100644 index 0000000000..6bf58116f6 --- /dev/null +++ b/yocto-poky/documentation/template/gloss-permalinks.xsl @@ -0,0 +1,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>
|