]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug where component titles inside info elements were not handled properly
authorNorman Walsh <ndw@nwalsh.com>
Sat, 2 Feb 2008 00:29:28 +0000 (00:29 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sat, 2 Feb 2008 00:29:28 +0000 (00:29 +0000)
xsl/html/component.xsl

index ed2edac7ac574fc3305735f411c0ef5b2754acbb..634f220534cc9147d165a1cdd36c08f93e1c24c2 100644 (file)
   </div>
 </xsl:template>
 
-<xsl:template match="chapter/title" mode="titlepage.mode" priority="2">
+<xsl:template match="chapter/title|chapter/chapterinfo/title"
+             mode="titlepage.mode" priority="2">
   <xsl:call-template name="component.title">
     <xsl:with-param name="node" select="ancestor::chapter[1]"/>
   </xsl:call-template>
   </div>
 </xsl:template>
 
-<xsl:template match="appendix/title" mode="titlepage.mode" priority="2">
+<xsl:template match="appendix/title|appendix/appendixinfo/title"
+             mode="titlepage.mode" priority="2">
   <xsl:call-template name="component.title">
     <xsl:with-param name="node" select="ancestor::appendix[1]"/>
   </xsl:call-template>