OK, that works!
Thank you

-----Message d'origine-----
De : Philippe Pithon [mailto:[EMAIL PROTECTED]
Envoye : mercredi 27 mars 2002 11:10
A : '[EMAIL PROTECTED]'
Objet : RE: problems big files xml >1Mo


I do not manage to set up this after 2 hours of attempt!!!
At what level in the code it is necessary to place this paragraph?

After this?:

< / fo:layout-master-set >

-----Message d'origine-----
De : J.Pietschmann [mailto:[EMAIL PROTECTED]
Envoye : mardi 26 mars 2002 21:30
A : [EMAIL PROTECTED]
Objet : Re: problems big files xml >1Mo


[EMAIL PROTECTED] wrote:
> I don't think these are the best solutions because you loose some of your
> XML tag formatting with xsl:text.
Worse, the code will fail under certain circumstances, for
reasons hard to understand for the average user. It is
likely that it will always fail in future distributions
of FOP. The drawbacks of using disable-output-escaping
are discussed in regular intervals on the XSL list, search
through their archive.

A solution which always works is the following:

   <xsl:for-each select="row[position() mod 20 = 1]"/>
     <fo:page-sequence initial-page-number="whatever">
        ....
        <xsl:apply-templates select=".|following-sibling::row[position() <
19]"/>
        ...
     </fo:page-sequence>
   </xsl:for-each>

This is known as "grouping by position", one of the simpler
grouping problems.

Actually, this is an XSLT problem. There is more expertise
available on the XSL list, and there is an XSL FAQ
at http://www.dpawson.co.uk/

J.Pietschmann


Reply via email to