You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Bruno Verachten <Br...@laposte.net> on 2002/03/13 12:10:11 UTC

Newbie question: master-reference

Hi,

sorry for asking such a basic question, but why does this fo code not
work???

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  <fo:layout-master-set>
    <fo:simple-page-master page-width="8.5in" page-height="11in" 
master-name="toto">
      <fo:region-body margin-top="15mm" margin-right="20mm" 
margin-bottom="15mm" margin-left="20mm"/>
      <fo:region-before extent="13mm" display-align="after"/>
      <fo:region-after extent="13mm" display-align="before"/>
    </fo:simple-page-master>
    <fo:simple-page-master page-width="8.5in" page-height="11in" 
master-name="CoverPage">
      <fo:region-body margin-top="15mm" margin-right="20mm" 
margin-bottom="15mm" margin-left="20mm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-name="toto">

I get this error with FOP 0.20.3
[ERROR]: 'master-reference' for 'fo:page-sequence'matches no 
'simple-page-master' or 'page-sequence-master'

What did I miss?

Thanks.

Bruno Verachten.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org