Re: Multiple page-sequence

From your description I imagine that FOP runs out of memory when you
generate a page-sequence for each <page>. In that case you could
generate a page sequence for each employee, or possibly a fixed number
of employees, using grouping methods in your stylesheet (see 
http://www.dpawson.co.uk/xsl/sect2/N4486.html#d138e42)

Max.


You wrote:

> Hi,
>
> I am running fop .20 to transform my xml files to pdf files.  Everything
> is working fine until I try to parse/transform a large xml file, 4
> megs.  I eventually run out of memory.  From what I understand this is
> a  fop problem due to the fact that fop keeps everything in memory.  I
> have however, found work-a-round.  By using multiple fo:page-sequences
> for my xml document, I should be able to decrease my memory usage.  Here
> is where I am stuck.  I am not sure how to use multiple page-sequences
> for the following xml doc.
>
> <page>
>     <employee>
>         <stuff1/>
>         <stuff2>
>         <stuff3>
>     </employee>
>     <employee>
>         <stuff1>
>         <stuff2>
>         <stuff3>
>     </employee>
>     ....
>     ....
>     ....
> </page>
>
> Can someone help me?
>
> Cheers...Paul

Received on Thursday, 15 November 2001 16:24:18 UTC