多个 fo:retrieve-marker 同名

问题描述 投票:0回答:0

两个页面页脚具有相同的 fo:retrieve-marker、retrieve-class-name 和 retrieve-boundary,如果我使用 fo:marker 从哪个页脚调用标记类名称,现在唯一不同的属性是 retrieve-position会被找回吗?为什么?

下面是样品

<fo:static-content flow-name="second-page-footer" font-family="normal" font-style="normal" font-size="4">
    <fo:retrieve-marker retrieve-class-name="continued" retrieve-position="last-starting-within-page" retrieve-boundary="page"/>
        <fo:block-container position="absolute"  top="20mm">
           <xsl:call-template name="pageTwoFooter"/>
        </fo:block-container>
</fo:static-content>

<fo:static-content flow-name="rest-page-footer" font-family="normal" font-style="normal" font-size="4">
    <fo:retrieve-marker retrieve-class-name="continued" retrieve-position="last-starting-within-page" retrieve-boundary="page"/>
</fo:static-content>



<fo:flow flow-name="xsl-region-body" font-size="8pt" font-family="normal" font-style="normal" font-weight="normal">
   <fo:marker marker-class-name="continued">
           <xsl:call-template name="continuedNextPage"/>
   </fo:marker>
<fo:flow>

或者正确的理解是什么?

xslt-2.0 freemarker apache-fop
© www.soinside.com 2019 - 2024. All rights reserved.