Thank you!
But I have maybe another idea for my problems of slowness on big files:
I am going to cut my files xml
Example:
Edit.xml 1Mo - > edit.pdf (1Mo)
Edit~1.xml (500Ko) - > edit~1 .pdf (500Ko)
Edit~2.xml (500Ko) - > edit~2.pdf (500Ko)

This is intended for printing
So printing of 2 files PDF !

That should be faster...




-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoye : mardi 26 mars 2002 15:05
A : [EMAIL PROTECTED]
Objet : Re: problems big files xml >1Mo



I don't think these are the best solutions because you loose some of your
XML tag formatting with xsl:text.  But this is one way you could do it.

<xsl:if test="position() mod 20 = 0">
     <xsl:text disable-output-escaping="yes">
&lt;/page-sequence&gt;</xsl:text>
     <xsl:text disable-output-escaping="yes">
&lt;page-sequence&gt;</xsl:text>
</xsl:if>

or your test could look something like

<xsl:if test="[EMAIL PROTECTED] mod 20 = 0">
     ...
</xsl:if>

JohnPT




                    [EMAIL PROTECTED]
                    APACHE.ORG
To:     <[EMAIL PROTECTED]>

cc:
                    03/26/02 03:53 AM
Subject:     problems big files xml >1Mo
                    Please respond to fop-user






Hello!
I am a French user of FOP
I read e-mails on the problems of crash and slowness on big files > 1Mo
And apparently there are not too many solutions
Maybe being resolved in the next version ?
At present I have that a "page - sequence" for all the document.
According to the users of FOP, it's necessary of some "fo:page-sequence" to
reduce the slowness.
How to insert "page-sequence" everything 20 rows in xsl?
(Without inserting syntaxe <page> in my xml)
Are there other solutions?
My files xml are structured as follows:
<row num="1">
  <CODLT>0000045393</CODLT>
  <DATINT>1996-01-02 00:00:00.0</DATINT>
  <CODCLI>99001</CODCLI>
  <CODPROD>SI</CODPROD>
  <CODDOSS>1</CODDOSS>
  <DUREE_HHCC>8</DUREE_HHCC>
  <INTERLOC />
  </row>
<row num="2">
  <CODLT>0000045394</CODLT>
  <DATINT>1996-01-03 00:00:00.0</DATINT>
  <CODCLI>99001</CODCLI>
  <CODPROD>SI</CODPROD>
  <CODDOSS>1</CODDOSS>
  <DUREE_HHCC>8</DUREE_HHCC>
  <INTERLOC />
</row>















Reply via email to