W3C home > Mailing lists > Public > www-xsl-fo@w3.org > October 2004

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

From: David Carlisle <davidc@nag.co.uk>
Date: Fri, 8 Oct 2004 01:59:46 +0100
Message-Id: <200410080059.BAA01252@penguin.nag.co.uk>
To: rneilands@pulsemining.com.au
CC: mooney@dogbert.cc.ndsu.NoDak.edu, www-xsl-fo@w3.org

You can't do this:

<fo:table-row {$breakvar} keep-together="always">

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>


This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
Received on Friday, 8 October 2004 01:00:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:10:01 UTC