W3C home > Mailing lists > Public > www-xsl-fo@w3.org > August 2002

Re: global and local variable

From: Max Froumentin <mf@w3.org>
Date: Wed, 21 Aug 2002 11:18:16 +0200
To: Sébastien Dartigues <sebastien.dartigues@cgey.com>
Cc: <www-xsl-fo@w3.org>
Message-ID: <867kik8t9j.fsf_-_@sophia.inria.fr>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:09 GMT