summaryrefslogtreecommitdiff
path: root/sandbox/mallard/xslt/mal2html.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/mallard/xslt/mal2html.xsl')
-rw-r--r--sandbox/mallard/xslt/mal2html.xsl4
1 files changed, 1 insertions, 3 deletions
diff --git a/sandbox/mallard/xslt/mal2html.xsl b/sandbox/mallard/xslt/mal2html.xsl
index bdfb4a6..cbe3ac6 100644
--- a/sandbox/mallard/xslt/mal2html.xsl
+++ b/sandbox/mallard/xslt/mal2html.xsl
@@ -44,9 +44,7 @@ REMARK: Describe this module
<xsl:param name="mal.cache_file"/>
<xsl:variable name="cache" select="document($mal.cache_file)"/>
<xsl:key name="cache_key" match="*[@id]"
- use="concat(
- (ancestor-or-self::mal:guide | ancestor-or-self::mal:topic)[last()]/@id,
- '#', @id)"/>
+ use="concat(ancestor-or-self::mal:page[1]/@id, '#', @id)"/>
<!-- FIXME -->
<xsl:template match="*">