]> granicus.if.org Git - docbook-dsssl/commitdiff
Moved the template that outputs <base> so that the base URI also applies to relative...
authorMauritz Jeanson <mj@johanneberg.com>
Wed, 28 Jul 2010 10:59:39 +0000 (10:59 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Wed, 28 Jul 2010 10:59:39 +0000 (10:59 +0000)
See patch #2896121.

xsl/html/docbook.xsl

index c20a602330a0d56523c0d4a64305e6678fb3110f..e6878c9cd6c91c69dd7c8957991b6f7247c31569 100644 (file)
     <xsl:copy-of select="$title"/>
   </title>
 
+  <xsl:if test="$html.base != ''">
+    <base href="{$html.base}"/>
+  </xsl:if>
+
   <!-- Insert links to CSS files or insert literal style elements -->
   <xsl:call-template name="generate.css"/>
 
           href="{$link.mailto.url}"/>
   </xsl:if>
 
-  <xsl:if test="$html.base != ''">
-    <base href="{$html.base}"/>
-  </xsl:if>
-
   <meta name="generator" content="DocBook {$DistroTitle} V{$VERSION}"/>
 
   <xsl:if test="$generate.meta.abstract != 0">