You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Skladov, Victor" <Sk...@his.de> on 2002/02/07 11:39:15 UTC

FO:TABLE -> break-before property

Hi to all!

I'd like to pass this <fo:table> property - <break-before> dynamically
from my xsp-document with stylesheet to pdf - it doesn't work! All other
properties do, but this doesn't!

XSP:

			<TABLE>
				<xsp:attribute name="break">
	
<xsp:text>page</xsp:text>
				</xsp:attribute>
				<xsp:attribute name="color">
						<xsp:text>red</xsp:text>
				</xsp:attribute>

etc.

XSL:

<xsl:template match="TABLE">
	<fo:table>
		<xsl:attribute name="break-before">
				<xsl:value-of select="@break" />
		</xsl:attribute>
		<xsl:attribute name="background-color">
				<xsl:value-of select="@color" />
		</xsl:attribute>

		<xsl:apply-templates/>
	</fo:table>
</xsl:template>

<background-color> works , but <break-before> not!
Can anybody explain what's wrong with that?

Thanks for help

Regards,
Viktor