[yelp-xsl] [mal-link.xsl] Load cache file relative to page file



commit 9e745d9bc1ee1e8adedcc4a879695f55b60da64a
Author: Shaun McCance <shaunm gnome org>
Date:   Fri Jul 16 10:48:09 2010 -0400

    [mal-link.xsl] Load cache file relative to page file

 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 835d15d..bde2cc6 100644
--- a/xslt/mallard/common/mal-link.xsl
+++ b/xslt/mallard/common/mal-link.xsl
@@ -60,7 +60,7 @@ document.  By default, it selects the root element from the file provided in
 Some processing tools may create a Mallard cache document without outputting
 it to a file.  Those tools can use this parameter directly.
 -->
-<xsl:param name="mal.cache" select="document($mal.cache.file)/cache:cache"/>
+<xsl:param name="mal.cache" select="document($mal.cache.file, /)/cache:cache"/>
 
 
 <!--============================================================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]