Readman, Devon wrote:
Hi Everyone.
I'm trying to include a text 'note' value in the dynamic running header of my pdf output. Currently, I'm using fo:marker to set the heading value when processing which is retrieved within the fo:region-before. This works fine as there are always only two lines of text so a set width is big enough. Since the text 'note' can vary throughout the document I need to be able to resize the fo:region-before through the use of a xsl:variable. Can you set the value of a xsl:variable to the value of a fo:marker? I've tried with no success -- just a hardcoded variable value works.
The short answer is No, you cant.
xsl:variable is processed at XSLT stage whilst fo:marker is processed by FOP after XSLT processing has completed. So xsl:variable has no visibility of fo:marker.
Also xsl:variable can only be set once. The name variable is a bit misleading.
Chris
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]