Re: global and local variable

Sébastien Dartigues <sebastien.dartigues@cgey.com> writes:

> i have a header, a body and a footer in the body i write plenty
> information that can be on more than one page and this information
> has an id (from the xml database) i would like to remind this id on
> each header

remind this id? As in

...
<fo:block id="aha">foo</fo:block>
...

producing:

+--------------+
| aha          |
|--------------|
| ...          |
| foo          |
| ...          |
+--------------+

?

> with a global variable it doesn't work because this id is only
> process in the body

A global XSLT variable? Containing what?

> with a marker i lost the variable in the second page.....

Is this what you are looking for?

+--------------+  +--------------+
| aha          |  | aha          |
|--------------|  |--------------|
| ...          |  |              |
| foo          |  |              |
| ...          |  |              |
+--------------+  +--------------+


And you don't get the 'aha' on the second page? Seems like a bug in 
your XSLFO processor. Could you post the source code with the markers?

Max.

Received on Wednesday, 21 August 2002 05:18:18 UTC