]> granicus.if.org Git - docbook-dsssl/commitdiff
Webhelp: Fix error about undeclared doc.title param
authorDavid Cramer <david@thingbag.net>
Fri, 13 Jan 2012 14:39:12 +0000 (14:39 +0000)
committerDavid Cramer <david@thingbag.net>
Fri, 13 Jan 2012 14:39:12 +0000 (14:39 +0000)
xsl/webhelp/xsl/webhelp.xsl

index f4799950db5e15aaf2cd3c6ee1d3e1379de5a1ff..40e40115b9b0dd1ac1090cf14f00c8253098289a 100644 (file)
         </xsl:choose>
     </xsl:param>
 
+    <xsl:param name="doc.title">
+      <xsl:call-template name="get.doc.title"/>
+    </xsl:param>
+
     <!-- webhelp-specific params! -->
     <!-- To be added to normal params file someday -->
     <xsl:param name="webhelp.include.search.tab">true</xsl:param>
@@ -408,9 +412,6 @@ border: none; background: none; font-weight: none; color: none; }
        <xsl:message>language: <xsl:value-of select="$webhelp.indexer.language"/> </xsl:message>
        <!-- * Get a title for current doc so that we let the user -->
        <!-- * know what document we are processing at this point. -->
-       <xsl:variable name="doc.title">
-         <xsl:call-template name="get.doc.title"/>
-       </xsl:variable>
        <xsl:choose>
          <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document,
          toss the namespace and continue.  Use the docbook5 namespaced