]> granicus.if.org Git - docbook-dsssl/commitdiff
For the book title templates, I changed info/title to book/info/title
authorBob Stayton <bobs@sagehill.net>
Mon, 16 Mar 2009 07:09:41 +0000 (07:09 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 16 Mar 2009 07:09:41 +0000 (07:09 +0000)
so other element's titles will not be affected.

xsl/fo/titlepage.xsl

index 9e1223cc22c04ba251c9f46c54aba2370200b220..716da85fd68828a26cc45dfb45f7149566f0ccfa 100644 (file)
 
 <!-- book recto -->
 
-<xsl:template match="bookinfo/authorgroup|info/authorgroup"
+<xsl:template match="bookinfo/authorgroup|book/info/authorgroup"
               mode="titlepage.mode" priority="2">
   <fo:block>
     <xsl:call-template name="anchor"/>
   <xsl:apply-templates select="othercredit" mode="titlepage.mode"/>
 </xsl:template>
 
-<xsl:template match="bookinfo/author|info/author"
+<xsl:template match="bookinfo/author|book/info/author"
               mode="titlepage.mode" priority="2">
   <fo:block>
     <xsl:call-template name="person.name"/>
   </fo:block>
 </xsl:template>
 
-<xsl:template match="bookinfo/corpauthor|info/corpauthor"
+<xsl:template match="bookinfo/corpauthor|book/info/corpauthor"
               mode="titlepage.mode" priority="2">
   <fo:block>
     <xsl:apply-templates/>
   </fo:block>
 </xsl:template>
 
-<xsl:template match="bookinfo/pubdate|info/pubdate"
+<xsl:template match="bookinfo/pubdate|book/info/pubdate"
               mode="titlepage.mode" priority="2">
   <fo:block>
     <xsl:call-template name="gentext">