I need for my xsl:fo transformation an <fo:retrieve-marker>
in an table but I don't know if this is possible because I use FOP Processor for my transformation.
If i use the <fo:retrieve-marker>
in my table I always get an error message that the tag has to be in an static content.
Here is the table with the marker
<xsl:call-template name="MMEL-Table-Header"/>
<!-- Bottom table Line -->
<fo:table-footer>
<fo:table-row>
<fo:table-cell>
<fo:marker marker-class-name="footer-continued"> <fo:inline>(continued)</fo:inline></fo:marker>
</fo:table-cell>
</fo:table-row>
</fo:table-footer>
<fo:table-body >
<xsl:variable name="identification">
<xsl:value-of select="ident/message"/>
</xsl:variable>
<xsl:apply-templates select="ident"><xsl:with-param name="ident" select="$identification"/></xsl:apply-templates>
<xsl:apply-templates select="provisos/proviso"><xsl:with-param name="ident" select="$identification"/></xsl:apply-templates>
<fo:table-row>
<fo:table-cell> <fo:retrieve-marker retrieve-position="first-starting-within-page" retrieve-class-name="footer-continued" retrieve-boundary="document" /> </fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
(disclosure: I'm a FOP developer)
This example has dynamic table header and table footer, so it should cover your requirements:
 
in the table header and table footer is a necessary "placeholder" (the header / footer dimensions are computed just once, without marker content)FO fragment: