W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2005

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

From: Roland Neilands <rneilands@pulsemining.com.au>
Date: Mon, 14 Nov 2005 10:48:58 +1100
Message-ID: <4377D0EA.5020407@pulsemining.com.au>
To: Singi De Silva <singithi@hotmail.com>, www-xsl-fo@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:13 GMT