我需要为我的xsl:FO在表改造的<fo:retrieve-marker>
,但我不知道这是可能的,因为我用FOP处理器为我的转变。XSL:FO检索标记物无效孩子
如果我在我的表使用<fo:retrieve-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>
你能为我们提供SNI使用''查看你正在使用的代码。但基本上,'retrieve-marker'只能用于页眉或页脚('')。 –
potame
好 如果我把标志页脚中我没有得到任何错误消息,但这个是需要的问题,要在表格中显示我的文字 – bvb1909
当然,这将出现在页脚的...那我建议一种解决方法可能是设置*(待续)*文本的负顶部边距,使其在页面中显示更高。但是除非你使用支持'retrieve-table-marker'的Antenna House或RenderX这样的商业产品,恐怕你别无选择。 – potame