[yelp-xsl] mal-link: Match any element with an id in cache for mal.cache.key
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] mal-link: Match any element with an id in cache for mal.cache.key
- Date: Tue, 15 Aug 2017 00:56:46 +0000 (UTC)
commit d74c26b59f3b969907eec54c5b3985d82831ef6d
Author: Shaun McCance <shaunm redhat com>
Date: Mon Aug 14 20:54:40 2017 -0400
mal-link: Match any element with an id in cache for mal.cache.key
This removes a pile of unnecessary customization in Pintail, and
it will also be necessary to make general block element addressable
in the future.
xslt/mallard/common/mal-link.xsl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xslt/mallard/common/mal-link.xsl b/xslt/mallard/common/mal-link.xsl
index 93c1b90..7524ecd 100644
--- a/xslt/mallard/common/mal-link.xsl
+++ b/xslt/mallard/common/mal-link.xsl
@@ -73,7 +73,7 @@ hash character.
The context node must be in the document @{mal.cache} when this key is called.
-->
-<xsl:key name="mal.cache.key" match="mal:page | mal:section" use="@id"/>
+<xsl:key name="mal.cache.key" match="cache:cache//*" use="@id"/>
<!--++==========================================================================
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]