xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Skladov, Victor" <Skla...@his.de>
Subject FO:TABLE -> break-before property
Date Thu, 07 Feb 2002 10:39:15 GMT
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


Mime
View raw message