only last declared simple-page-master is effective

"Barbara Post" <[email protected]> Tue, 4 Mar 2003 18:09:17 +0100
Newsgroups gmane.text.xml.jfor.general
Message-ID <[email protected]>
Hi,

I have the following :

<fo:layout-master-set>
        <fo:simple-page-master master-name="entete"
                  page-height="21cm"
                  page-width="29.7cm"
                  margin-top="10cm"
                  margin-bottom="2.5cm"
                  margin-left="2.5cm"
                  margin-right="2.5cm">
            <fo:region-body margin-top="3cm"/>
            <fo:region-before extent="3cm"/>
            <fo:region-after extent="1.5cm"/>
        </fo:simple-page-master>
       <fo:simple-page-master master-name="simple"
                  page-height="29.7cm"
                  page-width="21cm"
                  margin-top="2.5cm"
                  margin-bottom="2.5cm"
                  margin-left="2.5cm"
                  margin-right="2.5cm">
            <fo:region-body margin-top="3cm"/>
            <fo:region-before extent="3cm"/>
            <fo:region-after extent="1.5cm"/>
        </fo:simple-page-master>
    </fo:layout-master-set>

but whether I have <fo:page-sequence master-name="entete"> or
<fo:page-sequence master-name="simple">, the second one ("simple") is always
used.

Any clue ?

Thanks

Barbara

--
website : www.babsfrance.fr.st
ICQ : 135868405





-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com