RE: Multiple clients on the same report

The general technique is to use separate fo:page-sequence for each document.
Reference all of them to the same fo:page-sequence-master if you want the
same layout for each document. Use different masters if different layouts
are required.
 
See example here:
http://xslfo-zone.com/examples/xsl-fo/pagination-and-layout/multiple-documen
ts-combined.jsp


Best Regards,
Victor Vishnyakov
http://xslfo-zone.com/



> -----Original Message-----
> From: www-xsl-fo-request@w3.org 
> [mailto:www-xsl-fo-request@w3.org] On Behalf Of Geoffroy de Menten
> Sent: Wednesday, February 23, 2005 4:58 PM
> To: www-xsl-fo@w3.org
> Subject: Multiple clients on the same report 
> 
> 
> Hi,
>  
> I have a problem that look simple but we cannot find a solution.
> I am using a XML creator (programmed in java) and an XSL-FO 
> stylesheet.
>  
> We would like to have a report with a different first page 
> layout (margin are changed), then all the same layout. But 
> this behaviour must be repeatable because more than one 
> client is printed at a time. 
> The number of clients and the number of page for one client 
> is variable.
>  
> So it should look like (only one PDF) : (only an example, 
> should work for any number of client/ any number of pages/client)
>  
> <First page layout>client1 header  (p1)
> <Rest layout>client1 body   (p2)
> <Rest layout>client1 body   (p3)
> <First page layout>client2 header  (p4)
> <Rest layout>client2 body   (p5)
> <Rest layout>client2 body   (p6)
> <Rest layout>client2 body   (p7)
> <First page layout>client3 header  (p8)
> <Rest layout>client3 body   (p9)
>  
> For the moment, no problem to have a different layout for the 
> first page, but how can I repeat it for the other clients ?
>  
> Thanks in advance,
> Geoffroy de Menten - Fortisbank
> 
> 
> 		
> ---------------------------------
> Do you Yahoo!?
>  Yahoo! Mail - Find what you need with new enhanced search. 
> Learn more.
> --0-1125413794-1109170668=:72398
> Content-Type: text/html; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
> 
> <DIV>
> <DIV>Hi,<BR>&nbsp;<BR>I have a problem that look simple but 
> we cannot find a solution.<BR>I am using a XML creator 
> (programmed in java) and an XSL-FO 
> stylesheet.<BR>&nbsp;<BR>We would like to have a report with 
> a different first page layout (margin are changed), then all 
> the same layout. But this behaviour must be repeatable 
> because more than one client is printed at a time. <BR>The 
> number of clients and the number of page for one client is 
> variable.<BR>&nbsp;<BR>So it should look like (only one PDF) 
> : (only an example, should work for any number of client/ any 
> number of pages/client)<BR>&nbsp;<BR>&lt;First page 
> layout&gt;client1 header&nbsp; (p1)<BR>&lt;Rest 
> layout&gt;client1 body&nbsp;&nbsp; (p2)<BR>&lt;Rest 
> layout&gt;client1 body&nbsp;&nbsp; (p3)<BR>&lt;First page 
> layout&gt;client2 header&nbsp; (p4)<BR>&lt;Rest 
> layout&gt;client2 body&nbsp;&nbsp; (p5)<BR>&lt;Rest 
> layout&gt;client2 body&nbsp;&nbsp; (p6)<BR>&lt;Rest 
> layout&gt;client2 body&nbsp;&nbsp; (p7)<BR>&lt;First page
>  layout&gt;client3 header&nbsp; (p8)<BR>&lt;Rest 
> layout&gt;client3 body&nbsp;&nbsp; (p9)<BR>&nbsp;<BR>For the 
> moment, no problem to have a different layout for the first 
> page, but how can I repeat it for the other clients 
> ?<BR>&nbsp;<BR>Thanks in advance,<BR>Geoffroy de Menten - 
> Fortisbank</DIV></DIV><p>
> 		<hr size=1>Do you Yahoo!?<br>
> Yahoo! Mail - Find what you need with new enhanced search. <a 
> href="http://us.rd.yahoo.com/evt=29917/*http://info.mail.yahoo
> .com/mail_250">Learn more.</a>
> --0-1125413794-1109170668=:72398--
> 
> 
> 
> 

Received on Thursday, 24 February 2005 16:40:16 UTC