Re: Multiple page-sequence

Things are changing with Fop rather rapidly at the moment, but for current
versions, complete page sequences are kept in memory...the shorter they are
the better. So the suggested solution is appropriate.

Arved Sandstrom

----- Original Message -----
From: "Max Froumentin" <mf@w3.org>
To: "Paul Kowlessar" <Paul_Kowlessar@CdnAir.Ca>
Cc: <www-xsl-fo@w3.org>
Sent: Thursday, November 15, 2001 5:24 PM
Subject: 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:48:48 UTC