]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug in entry template where rowsep was incorrectly set to zero
authorBob Stayton <bobs@sagehill.net>
Sun, 24 Nov 2013 05:21:00 +0000 (05:21 +0000)
committerBob Stayton <bobs@sagehill.net>
Sun, 24 Nov 2013 05:21:00 +0000 (05:21 +0000)
for cell with @morerows in thead.

xsl/html/table.xsl

index af7c42571dcea44f530f2cab584bc6956a91187e..c8969924e2e0616ab6e3dc6f63fe39eac413bbcc 100644 (file)
                           or ancestor-or-self::tbody/preceding-sibling::tfoot)">
         <xsl:value-of select="0"/>
       </xsl:when>
-      <xsl:when test="@morerows and not(@morerows &lt; 
+      <!-- not last row with @morerows (thead is not last row) -->
+      <xsl:when test="not(ancestor::thead) and @morerows and not(@morerows &lt; 
                  count(ancestor-or-self::row[1]/following-sibling::row))">
         <xsl:value-of select="0"/>
       </xsl:when>