Problème de pages blanches avec XSL-FO

"Stephanie Lopera" <[email protected]>
Newsgroups gmane.text.xml.french.tech
Message-ID <DD8AC2A5BFF10F45B831BB4CE31BA2A7CAC761@srv-mail.GROUPE-LAFON.INTRA>
Bonjour,
 

J'ai simplifié au maximum le résultat de ma transformation XSL-FO qui donne le code suivant :

 

<?xml version="1.0" encoding="UTF-16"?>

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

            <fo:layout-master-set>

                        <fo:simple-page-master master-name="A4" page-width="210mm" page-height="297mm">

                                   <fo:region-body  />

                        </fo:simple-page-master>

            </fo:layout-master-set>

            

            <fo:page-sequence master-reference="A4" initial-page-number="1" >

                        <fo:flow>

                                   <fo:block >RAPPORT </fo:block>

                        </fo:flow>

            </fo:page-sequence>

            

            <fo:page-sequence master-reference="A4" initial-page-number="1">

                        <fo:flow>

                                   <fo:block >RAPPORT </fo:block>

                        </fo:flow>

            </fo:page-sequence>

</fo:root>

 

Le problème, c'est qu'après transformation en PDF, j'ai 3 pages (une page blanche au milieu).

J'utilise FOP 0.20.5.

 

Merci d'avance pour vos réponses.

Stéphanie
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.