a table may break (depending on the PI value) at a page break. This was needed
since the outer fo:block that surrounds fo:table has keep-together.within-column="always"
by default, which prevents the table from breaking. Closes bug #
1740964 (Titled
table does not respect dbfo PI).
</xsl:choose>
</xsl:variable>
+ <xsl:variable name="keep.together">
+ <xsl:call-template name="pi.dbfo_keep-together"/>
+ </xsl:variable>
+
<xsl:choose>
<xsl:when test="self::table">
<fo:block id="{$id}"
xsl:use-attribute-sets="table.properties">
+ <xsl:if test="$keep.together != ''">
+ <xsl:attribute name="keep-together.within-column">
+ <xsl:value-of select="$keep.together"/>
+ </xsl:attribute>
+ </xsl:if>
<xsl:if test="$placement = 'before'">
<xsl:call-template name="formal.object.heading">
<xsl:with-param name="placement" select="$placement"/>