title: How to retrieve an xsl-fo marker out of its page-sequence?
body: <p>I'm using XSL-FO markers to generate running heads, and I'm having trouble retrieving the book title. I have a workaround, but I thought there must be a more elegant solution. Since the book title only appears as text at the beginning of the book, my marker is not in the same page-sequence as my static-content. Is there a mechanism for retrieving an out-of-page-sequence marker?</p>
  
  <p>I am using XSLT Formatter V 4.3 for my PDF generation, but I'm not married to it.</p>
  
  <p>A very simplified XML example:</p>
  
  <pre><code>&lt;book&gt;
  &lt;bktitle&gt;Alice in Wonderland&lt;/bktitle&gt;
  &lt;chapter&gt;
  &lt;chaptitle&gt;Chapter 1&lt;/chaptitle&gt;
  &lt;para&gt;This is the story of Alice in Wonderland.&lt;/para&gt;
  &lt;/chapter&gt;
  &lt;/book&gt;
  </code></pre>
  
  <p>Snippets of the XSL-FO:</p>
  
  <pre><code>&lt;fo:page-sequence master-reference="fm"&gt;
    &lt;fo:title&gt;Alice in Wonderland&lt;/fo:title&gt;
    &lt;fo:flow flow-name="xsl-region-body"&gt;
       &lt;fo:block font-variant="small-caps"&gt;
          &lt;fo:marker marker-class-name="book"&gt;Alice in Wonderland&lt;/fo:marker&gt;Alice in Wonderland&lt;/fo:block&gt;
    &lt;/fo:flow&gt;
  &lt;/fo:page-sequence&gt;
  
  &lt;fo:page-sequence master-reference="body"&gt;
    &lt;fo:title&gt;Chapter 1&lt;/fo:title&gt;
    &lt;fo:static-content flow-name="header"&gt;
       &lt;fo:block&gt;&lt;fo:retrieve-marker retrieve-class-name="book"/&gt;&lt;/fo:block&gt;
    &lt;/fo:static-content&gt;
    &lt;fo:flow flow-name="xsl-region-body"&gt;
       &lt;fo:block font-variant="small-caps"&gt;
          &lt;fo:marker marker-class-name="chapter"&gt;Chapter 1&lt;/fo:marker&gt;Chapter 1&lt;/fo:block&gt;
       &lt;fo:block&gt;This is the story of Alice in Wonderland.&lt;/fo:block&gt;
    &lt;/fo:flow&gt;
  &lt;/fo:page-sequence&gt;
  </code></pre>