- From: Roland Neilands <rneilands@pulsemining.com.au>
- Date: Fri, 8 Oct 2004 11:17:05 +1000
- To: "David Carlisle" <davidc@nag.co.uk>, <mooney@dogbert.cc.ndsu.NoDak.edu>
- Cc: <www-xsl-fo@w3.org>
> 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