title: Header display in XSLT
body: <p>I've been working with FOP 1.0 and I have the following problem:  </p>
  
  <pre><code>&lt;fo:layout-master-set&gt;      
      &lt;fo:simple-page-master master-name="A4Page" page-width="595.44pt" page-height="841.68pt" margin-top="0.5cm" margin-bottom="0.5cm" margin-left="0.5cm" margin-right="0.5cm"  &gt;
          &lt;fo:region-body region-name="xsl-region-body" extent="0pt" margin-top="145pt" margin-bottom="225pt" /&gt;&lt;!--36pt 36pt 70.5pt 36pt--&gt;
          &lt;fo:region-before region-name="xsl-region-before" extent="150pt" /&gt;
          &lt;fo:region-after region-name="xsl-region-after" extent="220pt" /&gt;&lt;!--extent="270pt"  145pt--&gt;
          &lt;fo:region-start region-name="xsl-region-start" extent="0pt"/&gt;
          &lt;fo:region-end region-name="xsl-region-end" extent="0pt"/&gt;                   
      &lt;/fo:simple-page-master&gt;
  &lt;/fo:layout-master-set&gt;
  </code></pre>
  
  <p>But when I have this header:
  <a href="https://i.stack.imgur.com/iewPZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iewPZ.png" alt="enter image description here"></a></p>
  
  <p>if I add enough items for another page this happens:
  <a href="https://i.stack.imgur.com/wZ1my.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wZ1my.png" alt="enter image description here"></a></p>
  
  <p>Is there a way so that when the new page appears it doesn't overlap the other text?
  i have uploaded the file to <a href="https://drive.google.com/open?id=1YqOD2pqhF4LMys5bzbNbuLVVOdUZkPd4" rel="nofollow noreferrer">drive</a></p>