John Bourke wrote:
I'm pretty new to XSL-FO and FOP and having problems with serious memory
usage on 500-1000 page docuements using tables as a reporting tool.
Being that I populate the data into the page sequence from my XML data file,
does anybody know of a way to end the page sequence after a screen full of
data and start a new page sequence.
I restrict my data in the XML to placing a screen full between
<FormFeed></FormFeed> tags. Ideally I would like to end the page sequence
when hitting a </FormFeed> and start a new page sequence for an open
<FormFeed> all within my stylesheet.
Try
<xsl:template match="FormFeed">
<fo:page-sequence master-reference="...">
<xsl:apply-templates/>
</fo:page-sequence>
</xsl:template>
and use
<xsl:apply-templates>
in the context of the parent of the FormFeed elements.
J.Pietschmann