Re: display dynamic flow content with xsl-region-after?

On Fri, Jan 08 2010 15:08:35 +0000, kim.walisch@gmail.com wrote:
> I want to use a footer (xsl-region-after) that displays dynamic content from
> the flow. I have a xml flow with many pages and I want to display a
> reference (from the flow) in the footer of each page. With xsl-region-body
> it would be easy, but I need the reference to be displayed in the footer and
> the footer (xsl-region-after) is static and only displays the reference of
> the first page.
>
> So, I am blocked. I am new to xsl fo, maybe there are other ways to to this?

It sounds like you might need to use fo:marker [1] in the flow and
fo:retrieve-marker [2] in the static content.

You can use fo:retrieve-marker to get, e.g., the content of the first or
last marker on the page.  If you want all instances of whatever that
content is, you might need to put each of them in a fo:footnote so they
come out in the footnote region.

Regards,


Tony Graham                         Tony.Graham@MenteithConsulting.com
Director                                  W3C XSL FO SG Invited Expert
Menteith Consulting Ltd                               XML Guild member
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
Registered in Ireland - No. 428599   http://www.menteithconsulting.com
  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
xmlroff XSL Formatter                               http://xmlroff.org
xslide Emacs mode                  http://www.menteith.com/wiki/xslide
Unicode: A Primer                               urn:isbn:0-7645-4625-2


[1] http://www.w3.org/TR/xsl11/#fo_marker
[2] http://www.w3.org/TR/xsl11/#fo_retrieve-marker

Received on Friday, 8 January 2010 18:17:00 UTC