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

Reply via email to