Hi experts!
I really need help because we have to decide soon wether we will use FOP
or not.
The question is how to write in xsl-fo:
for-each client:
1- print letter using simple-master-page="letter"
2- for-each invoice of client: print invoice
using simple-master-page="invoice"
Remark:
* simple-master-page="letter" does use only a region-body.
* simple-master-page="invoice" uses a region-before and a region-body.
Thanks for any help.
Richard FARAND a écrit:
Hi FOP experts!
I am new to FOP.
I have to print a set of clients' invoices. For each client I have to
print a letter first, and then print all his invoices.
So I have an XML File with structure like this:
<all_invoices>
<client name="client1">
<letter>
</letter>
<invoices>
<invoice></invoice>
<invoice></invoice>
</invoices>
</client>
<client name="client2">
<letter>
</letter>
<invoices>
<invoice></invoice>
<invoice></invoice>
</invoices>
</client>
</all_invoices>
letter and invoice do not use the same page-master. I defined two
page-masters with master-name = "letter" and "invoice".
Which page-sequence (conditional or not), should I use to print for
each client, his letter in the right page-master and then all his
invoices in the second one.
B.R.
Richard.