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 Weiqi Gao <we...@networkusa.net> on 2001/06/19 14:22:39 UTC

Re: [RE: Problem in "page-sequence is missing an sequence-specification"]

On 19 Jun 2001 06:06:12 -0600, peti ban wrote:
> 
> thanx for your help but it wont help me either as I have tried
> your idea of giving master name to simple-page and page-sequence.
>  
> "John Wyman" <jo...@wyman.org> wrote:
> > <fo:root>
> >       <fo:layout-master-set>
> >               <fo:simple-page-master master-name="all">
> >                       <fo:region-before extent="100pt"/>
> >                       <fo:region-body margin-bottom="55pt"
> > margin-top="75pt"/>
> >                       <fo:region-after extent="0pt"/>
> >               </fo:simple-page-master>
> >       </fo:layout-master-set>
> >       
> >       <fo:page-sequence master-name="all">
> >               <fo:static-content flow-name="xsl-region-before">
> >                       <fo:page-number/>
> >               </fo:static-content>
> >                       <fo:flow>
> >                               <xsl:apply-templates select="book"/>
> >                       </fo:flow>
> >       </fo:page-sequence>
> > </fo:root>

The <fo:flow> element inside <fo:page-sequence> needs an attribute to
tell FOP which of the three regions it should go in the
simple-page-master:

  <fo:flow flow-name="xsl-region-body">

-- 
Weiqi Gao
weiqigao@networkusa.net


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