summaryrefslogtreecommitdiff
path: root/xslt/mallard/common/mal-link.xsl
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2010-01-06 15:16:07 -0600
committerShaun McCance <shaunm@gnome.org>2010-01-06 15:16:07 -0600
commit9d70b0898cbb88e58bbcb87df162c2a0721bd2b3 (patch)
treed81d6cffb03071def5a5d83863d8ca2cc3cd899a /xslt/mallard/common/mal-link.xsl
parent43bc39f4276914168c8003843373c65f3795842a (diff)
downloadyelp-tools-9d70b0898cbb88e58bbcb87df162c2a0721bd2b3.tar.gz
[mal2html] Implement previous and next links for Mallard documents
Diffstat (limited to 'xslt/mallard/common/mal-link.xsl')
-rw-r--r--xslt/mallard/common/mal-link.xsl3
1 files changed, 3 insertions, 0 deletions
diff --git a/xslt/mallard/common/mal-link.xsl b/xslt/mallard/common/mal-link.xsl
index ab4974d..2f8fb95 100644
--- a/xslt/mallard/common/mal-link.xsl
+++ b/xslt/mallard/common/mal-link.xsl
@@ -66,6 +66,9 @@ it to a file. Those tools can use this parameter directly.
mal.cache.key
-->
<xsl:key name="mal.cache.key" match="mal:page | mal:section" use="@id"/>
+<xsl:key name="mal.cache.link.key"
+ match="mal:info/mal:link[@type]"
+ use="concat(@type, ':', @xref)"/>
<!--@@==========================================================================