Subject: Re: [xsl] 'space-after' combined with 'break-after="page"' generates blank pages From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Fri, 28 Jun 2013 13:58:47 -0400 |
I'm having a problem (using XSL 2.0) with a table following a figure.
I have the XSL mapped so that the figure is set in an <fo:block> with space-after="6pt".
Then, the table is set to start with a page break.
However, I'm ending up with an extra page break after the figure, before the table's page break, thereby creating a blank page in the middle of the document. The code in the [topic].fo file is as follows (first chunk is the figure, second chunk is the beginning of the table):
<fo:block break-after="page"/> <fo:block xmlns:rx="http://www.renderx.com/XSL/Extensions" span="all" start-indent="0pt"> <fo:block/>
<fo:block font-size="10pt" font-style="normal" font-weight="bold" keep-with-next.within-column="always"
I had thought that 'space-after' created a space after the object on the same page, but it's as though the space-after is going on to the next page, and then the table starts on the page after that. Otherwise, it seems as if the break-after="page" is putting in a page break even though the new table object was already creating a page break.
Both Antenna House and RenderX render it the same way, so I'm assuming it's my coding rather than any processor problem.
What it is I'm missing here?
-- Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] 'space-after' combined wi, Wendell Piez | Thread | [xsl] Re: csv data to xml, Olivier XILLO |
Re: [xsl] 'space-after' combined wi, Wendell Piez | Date | RE: [xsl] csv data to xml, Olivier XILLO |
Month |