In one of the sample code I am seeing:
<fo:static-content flow-name="rest-page-footer" font-family="Arial" font-style="normal" font-size="4">
<fo:retrieve-marker retrieve-class-name="lastPage" retrieve-position="last-starting-within-page" retrieve-boundary="page"/>
<fo:retrieve-marker retrieve-class-name="continuedLine" retrieve-position="first-starting-within-page" retrieve-boundary="document"/>
<fo:retrieve-marker retrieve-class-name="continued" retrieve-position="last-starting-within-page" retrieve-boundary="page"/>
</fo:static-content>
So what will be the use case here; as it seems to me it is referring to 3 fo:maker s which can be followed by, please correct me if my understanding is not correct.
You are correct.
Assuming there are
fo:markerwith correspondingmarker-class-namevalues on FOs that generate their first areas on the current page, on the current page or any previous page, and on the current page, then the content of thefo:static-contentwill be from the content of thosefo:marker.