]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixes bug #1323 where <?dbhtml-include?> paths were not being
authorBob Stayton <bobs@sagehill.net>
Fri, 17 Jan 2014 22:44:39 +0000 (22:44 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 17 Jan 2014 22:44:39 +0000 (22:44 +0000)
interpreted relative to the XML.

xsl/html/pi.xsl

index 2e555088416cfc606ee64449d373ac3ad907e9f5..ed94d6f5db3310e6228afb14d2738921dbe87ff4 100644 (file)
@@ -1076,7 +1076,7 @@ specifications in one processing instruction:
   </xsl:param>
   <xsl:choose>
     <xsl:when test="$href != ''">
-      <xsl:variable name="content" select="document($href,/)"/>
+      <xsl:variable name="content" select="document($href,.)"/>
       <xsl:choose>
         <xsl:when test="$content/*">
           <xsl:choose>