hello, there:

I have a pretty simple xml document, my fo document to
generate does not have header/footer, it only has
body.
The only thing I want is to have everything matched
inside fo:flow as one page. But xsl-region-body can be
matched 
many times, I want to have every child (please see
below) on one page just like a looping process.

I am using  simple-page-master, and using
page-sequence-master and
repeatable-page-master-reference tags to repeat 
the process so that every child will be on one 
page, but it does not work. 


<fo:layout-master-set>
  <fo:simple-page-master master-name="simple">
    <fo:region-body margin-bottom="50pt"/>
    <fo:region-after extent="25pt"/>
  </fo:simple-page-master>

  <fo:page-sequence-master master-name="simples">
     <fo:repeatable-page-master-reference
master-name="simple"/>
  </fo:page-sequence-master> 
</fo:layout-master-set>

<fo:page-sequence master-reference="simples">
  <fo:static-content flow-name="xsl-after">
    <fo:block><fo:page-number/></fo:block>
  </fo:static-content>

  <fo:flow>
    <xsl-apply-templates select="/parent/child"/>
  </fo:flow>
</fo:page-sequence>

I am wondering if I did something wrong. 
Appreciate any help.

regards,




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to