]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug in handling of multiple editors and "edited by" label.
authorBob Stayton <bobs@sagehill.net>
Mon, 17 Feb 2014 17:25:27 +0000 (17:25 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 17 Feb 2014 17:25:27 +0000 (17:25 +0000)
xsl/html/titlepage.xsl

index 4107e8000130b247202d6e797af39a67a6db86f1..dc63cbbb001a1ecce3fdd99c9f98ed7985357ad2 100644 (file)
   <div>
     <xsl:apply-templates select="." mode="common.html.attributes"/>
     <xsl:call-template name="id.attribute"/>
-    <xsl:if test="self::editor[position()=1] and not($editedby.enabled = 0)">
+    <xsl:if test="self::editor and 
+                  count(preceding-sibling::editor) = 0 and 
+                  not($editedby.enabled = 0)">
       <h4 class="editedby"><xsl:call-template name="gentext.edited.by"/></h4>
     </xsl:if>
     <h3>