On Jul 30, 2007, at 00:14, Ahmed Haddad wrote:
Hi
I am using version 0.93 of FOP. I am looking for the best way to
generate a dynamic page header. It will be great if I can use
xsl :value-of in my xsl-region-before ??
If it is not possible, how can I do it ???
The goal is to print invoices of many clients… For each invoice, I
have to generate a header with the client name, address… Some
invoices will be generated on many pages, so a header in xsl-region-
before seems the best way to do it. But the problem is that xsl-
region-before can be fed only with a static-content ??
That is correct. You will definitely want to take a look at fo:marker
and fo:retrieve-marker for this.
In short: put an fo:retrieve-marker in your static-content, and put
fo:markers inside critical fo:blocks in the fo:flow marking the start
of each invoice. The formatter (FOP) will then replace the
fo:retrieve-marker with the corresponding fo:marker that ends up on
each page.
HTH!
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]