]> granicus.if.org Git - docbook-dsssl/commitdiff
Only put doc title in header
authorDavid Cramer <david@thingbag.net>
Sun, 18 Sep 2011 19:11:10 +0000 (19:11 +0000)
committerDavid Cramer <david@thingbag.net>
Sun, 18 Sep 2011 19:11:10 +0000 (19:11 +0000)
xsl/webhelp/xsl/webhelp.xsl

index d6e13602894b0a101be75cab1074e848703ac2b6..07366791a5add778bb0e031c393087d815649cf8 100644 (file)
@@ -540,15 +540,7 @@ border: none; background: none; font-weight: none; color: none; }
                   src='{$webhelp.common.dir}images/logo.png' alt="Company Logo"/>
             <!-- Display the page title and the main heading(parent) of it-->
             <h1 align="center">
-                <xsl:apply-templates select="." mode="object.title.markup"/>
-                <br/>
-                <xsl:choose>
-                    <xsl:when
-                            test="count($up) &gt; 0 and generate-id($up) != generate-id($home)">
-                        <xsl:apply-templates select="$up" mode="object.title.markup"/>
-                    </xsl:when>
-                    <xsl:otherwise>&#160;</xsl:otherwise>
-                </xsl:choose>
+             <xsl:call-template name="get.doc.title"/>
             </h1>
 
             <!-- Prev and Next links generation-->