More info I'd responded to Sandy

Begin forwarded message:

From: Clay Leeds <[EMAIL PROTECTED]>
Date: May 26, 2004 8:49:34 AM PDT
To: [EMAIL PROTECTED]
Subject: Re: need help

<snip'd>

when i run the fop processor under the dos console, i got always
warning/error message,
saying error of PID, or something like that,..you have any idea ?

this table came from 12 rows and about 1000 columns...

I think you have that backwards. It's probably 12 columns and 1000 rows... Otherwise the pages would be fairly short, but really wide...


can you give me any tricks,how can I increase the performance...
for this table, it took ca. 28000 ms to complete all the process

There are some tricks on the FOP FAQ page:

http://xml.apache.org/fop/faq.html

and also the running page:

http://xml.apache.org/fop/running.html

You're welcome to send me the xsl file, if you like.

BTW, I took a look at the FO file, and here're a few comments...

- Computers can add numbers (2+2), but not a number to a string:
<fo:table-column column-width="2cm+proportional-column-width(1)" />

- use attribute-sets

- content in fo:table cannot be between fo:table-rows. It must be inside table-cells and then blocks

<fo:table-cell>
  <fo:block>
    content
  </fo:block>
</fo:table-cell

You've got this:
</fo:table-row>
  ZCB Steuerung Light Portfolio-Uebersicht Max Mustermann Hamburg
<fo:table-row>

- It usually makes no sense to have text-align or other properties on empty blocks.
<fo:table-cell>
<fo:block text-align="right" />
</fo:table-cell>


- I don't think width is useful on fo:table:
<fo:table width="100%" table-layout="fixed">

These are a few things I noticed quickly. I'm sure you could find more.

Hope this helps!

Web Maestro Clay



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



Reply via email to