fo:retrieve-marker fo:marker marker-class-name Parent Child

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

我是这个 XSLT 的新手;下面是我正在寻找澄清的代码快照:

         <fo:layout-master-set>
             <fo:simple-page-master master-name="second-page" page-width="210mm" page-height="297mm" margin-top="10mm" margin-bottom="10.5mm" margin-left="18mm" margin-right="18mm">
                 <fo:region-body margin-top="10mm" margin-bottom="75mm"/>
                 <fo:region-before extent="3mm" region-name="second-page-header"/>
                 <fo:region-after extent="75mm" region-name="second-page-footer"/>
             </fo:simple-page-master>
            
             <fo:page-sequence-master master-name="pageOneSequence">
                 <fo:single-page-master-reference master-reference="second-page"/>
             </fo:page-sequence-master>
         </fo:layout-master-set>
         
         
    <fo:page-sequence master-reference="pageOneSequence">    
         
        <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">
                    <fo:block/>
            </fo:block-container>
        </fo:static-content>
    
    
      <fo:static-content flow-name="second-page-header" font-family="normal" font-style="normal" font-weight="normal">
        <xsl:if test="$Test = 0">
            <xsl:call-template name="Test"/>
        </xsl:if>
      </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">
            <fo:block/>
         </fo:marker>
   </fo:page-sequence>

second-page-footer我们有fo:retrieve-marker retrieve-class-name="continued"xsl-region-body我们有fo:marker marker-class-name="continued" “ 这里谁是父母谁是孩子 w.r.t fo:marker 概念?

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