Hi, Use fo:marker to achieve this. Example: Show the title of the current chapter in the page's footer:
1. Somwhere in your Stylesheet you define a marker <xsl:template match"chapter/title> <fo:block> <fo:marker marker-class-name="sect-footer"/> <fo:block><xsl:value-of-select="."/></fo:block> </fo:marker> </fo:block> </xsl:template> 2. Use the marker's content in your footer: <fo:static-content flow-name="xsl-region-after"> <fo:block font-size="10pt"> <!-- this will retrieve the marker's content --> <xsl:retrieve-marker retrieve-class-name="sect-footer"/> </fo:block> </fo:static-content> Note that the marker-class-name attribute must be unique within the layout area. Regards Klaus -----Ursprungliche Nachricht----- Von: Kaustuva Narayan Sharma [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 4. Juni 2004 12:07 An: [EMAIL PROTECTED] Betreff: Changing content in static-content. Hi, I need to place a changing content in the footer of the page. However i read that headers & footers are typically static content. But I need to place a value that varies, is there anyway I can achieve the same? i.e.: <fo:static-content flow-name="xsl-region-after"> <fo:block font-size="10pt"><xsl:value-of select="DATA"/></fo:block> </fo:static-content> will the above be possible such that the value of DATA changes? Regards, Kaustuv Sharma --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]