W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2001

Re: Multiple page-sequence

From: Arved Sandstrom <asandstrom@accesscable.net>
Date: Thu, 15 Nov 2001 17:43:33 -0400
Message-ID: <004701c16e1e$94defb00$fa328a18@accesscable.net>
To: <www-xsl-fo@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT