RE: conditional page-break table based on row number?

> You can't do this:
> 
> <fo:table-row {$breakvar} keep-together="always">

I stand corrected. My example should have been:
<fo:table-row break-before="{$breakvar}" keep-together="always">
with appropriate value. David's code handles nulls better though.

Cheers,
Roland

> 
> XSLT files have to be well formed XML.
> 
> You can do
> 
> <fo:table-row keep-together="always">
>  <xsl:if test="position() mod 2 = 1">
>  <xsl:attribute name="break-before">page</xsl:attribute>
>  </xsl:if>
> 
> David

Received on Friday, 8 October 2004 01:18:57 UTC