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

Singi,

The was a correction on this thread:
<fo:table-row break-before="{$breakvar}" keep-together="always">

and also an alternate method by David Carlisle:

> <fo:table-row keep-together="always">
>  <xsl:if test="position() mod 2 = 1">
>  <xsl:attribute name="break-before">page</xsl:attribute>
>  </xsl:if>

Regards,
Roland

Singi De Silva wrote:

> Roland,
>  
> I tried the 2nd option. But it throws an error for the
>  
> <fo:table-row {$breakvar} keep-together="always">
>  
> Saying the following:
>  
>  Element type "fo:table-row" must be followed by either attribute 
> specifications, ">" or "/>".
>  
> Tim - did you get this to work? I have the same problem, I need to 
> break the page when position is 9.
>  
> Any help is appreciated.
>  
> Thanks
> Singi
>
> Asha for Education
> An Action Group for Basic Education in India
> http://www.ashanet.org/dc

Received on Sunday, 13 November 2005 23:54:13 UTC