]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix for multiple editor elements running together.
authorBob Stayton <bobs@sagehill.net>
Thu, 29 Jan 2004 18:00:56 +0000 (18:00 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 29 Jan 2004 18:00:56 +0000 (18:00 +0000)
xsl/fo/titlepage.xsl

index dcb817fd59c72ddd829afa97fbf61cfb25b0ae92..00cffd7e8d132caa3c684ac6eef668e523d916cd 100644 (file)
 </xsl:template>
 
 <xsl:template match="editor" mode="titlepage.mode">
-  <xsl:call-template name="person.name"/>
+  <!-- The first editor is dealt with in the following template,
+       which in turn displays all editors of the same mode. -->
 </xsl:template>
 
 <xsl:template match="editor[1]" priority="2" mode="titlepage.mode">
   <xsl:call-template name="gentext.edited.by"/>
   <xsl:call-template name="gentext.space"/>
-  <xsl:call-template name="person.name"/>
+  <xsl:call-template name="person.name.list">
+    <xsl:with-param name="person.list" select="../editor"/>
+  </xsl:call-template>
 </xsl:template>
 
 <xsl:template match="firstname" mode="titlepage.mode">