I am using XMetal's default stylesheet to generate PDF. My source xml file has a "title" tag that I want to keep track of, previously ,I used the following code:
<fo:inline>
<fo:retrieve-marker retrieve-class-name="current-header"/>
</fo:inline>
However, this will never work since Markers can only be retrieved in static content in FO, not in the main fo:flow. So my question is, if I am in the main fo:flow, how could I retrieve the title of the xml file?