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

Re: Multiple page-sequence

From: Max Froumentin <mf@w3.org>
Date: Thu, 15 Nov 2001 22:24:13 +0100
To: "Paul Kowlessar" <Paul_Kowlessar@CdnAir.Ca>
Cc: www-xsl-fo@w3.org
Message-ID: <87k7wr3eyq.fsf@sophia.inria.fr>

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 GMT

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