Louis, You ARE the man! Thank you very much, it works like a dream.
Take care, Vaughn -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 29 August 2005 15:00 To: [email protected] Subject: Re: Control-break on page Not sure what you mean? Are you just trying to put each ROW on a new page? If so, try the following code for each student ROW: <fo:block> <xsl:choose> <xsl:when test="position() != last()"> <xsl:attribute name="break-after">page</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="break-after">auto</xsl:attribute> </xsl:otherwise> </xsl:choose> </fo:block> This puts in a "page break after block" on all pages except the last one so you do not get that pesky empty last page. -Lou |---------+---------------------------> | | "Vaughn Dumas" | | | <[EMAIL PROTECTED]| | | a> | | | | | | 08/29/2005 07:23| | | Please respond | | | to fop-users | | | | |---------+---------------------------> >--------------------------------------------------------------------------- ----------------------------------------------------| | | | To: <[email protected]> | | cc: | | Subject: Control-break on page | >--------------------------------------------------------------------------- ----------------------------------------------------| Hi folks, I'm creating a report to have a control break on a page. Problem is that I'm getting a blank page with headings for my last page. This means a wasted page. I'm using 0.20.5. I have student detail (condensed here) that must be printed one student per page. XML === <ROWSET> <ROW num="1"> <student_number>1</student_number> <student_name>Joe Bloggs</student_name> </ROW> <ROW num="2"> <student_number>205189389</student_number> <student_name>John Smith</student_name> </ROW> </ROWSET> XSL === --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://linux.bitdefender.com/ -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://linux.bitdefender.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
