]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix duplicate template bug
authorNorman Walsh <ndw@nwalsh.com>
Sun, 15 Jul 2001 20:09:31 +0000 (20:09 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sun, 15 Jul 2001 20:09:31 +0000 (20:09 +0000)
xsl/fo/titlepage.xsl

index fd239a0a275b6caf52ebdffb02d9519e71b71647..17a955673ac1d9077860e3897423714ac1ae0592 100644 (file)
 <!-- book recto -->
 
 <xsl:template match="bookinfo/authorgroup" mode="titlepage.mode" priority="2">
-  <fo:wrapper>
+  <fo:block>
     <xsl:if test="@id">
       <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
     </xsl:if>
-    <xsl:apply-templates mode="titlepage.mode"/>
-  </fo:wrapper>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'by'"/>
+    </xsl:call-template>
+    <xsl:text> </xsl:text>
+    <xsl:call-template name="person.name.list"/>
+  </fo:block>
 </xsl:template>
 
 <!-- book verso -->
   </fo:block>
 </xsl:template>
 
-<xsl:template match="bookinfo/authorgroup" mode="titlepage.mode" priority="2">
-  <fo:block>
-    <xsl:call-template name="gentext">
-      <xsl:with-param name="key" select="'by'"/>
-    </xsl:call-template>
-    <xsl:text> </xsl:text>
-    <xsl:call-template name="person.name.list"/>
-  </fo:block>
-</xsl:template>
-
 <xsl:template match="bookinfo/pubdate" mode="titlepage.mode" priority="2">
   <fo:block>
     <xsl:call-template name="gentext">