At 12:21 25/06/03 +0200, Meier Reto wrote:

hi all,

i'm trying to use large xml file to create a tabel in pdf format. the xml contains about 40'000 nodes:

        <item>
                <Field name="Viw#">abaqq</Field>
                <Field name="Entfld#">8zcyx</Field>
....
                <Field name="entfldFldBasviw#foreignkeynk"/>
                <Field name="#">abaqz</Field>
                <Field name="Chgcnt">0</Field>
        </item>

i tried to use the example xml2pdf or i implemented a version obj2pdf.
but  always there is a out of memory exception.


I've been out of the FOP loop for some time so my advice may be a bit out of date.

I am assuming that you are using SAX and not DOM to suck up the XML.
Are you able to generate an fo file?

You need to come up a stylesheet which doesn;t put things in a big table but tries to output each item as it is finished.

For instance can you try to put each item into a flow byitself? or a page by itself?

(Does that make sense?)

Goodluck

Alex


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to