title: How to insert a blank line in XSL-FO properly?
body: <p>I am trying to figure out how to do that properly. I tried to use processing instructions in the code but it seems they are somehow ignored at all.</p>
  
  <p>In the text:</p>
  
  <pre><code>end of a paragraph.&lt;?linebreak?&gt;&lt;/p&gt;
  </code></pre>
  
  <p>As for templating, I tried:</p>
  
  <pre><code>&lt;xsl:template match="processing-instruction('linebreak')"&gt;
      &lt;fo:block&gt;
          &lt;xsl:apply-templates/&gt;
          &lt;fo:leader/&gt;
      &lt;/fo:block&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p>Or simply for testing purposes:</p>
  
  <pre><code>&lt;xsl:template match="processing-instruction('linebreak')"&gt;
      &lt;fo:block&gt;XXXX&lt;/fo:block&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p>No matters what I do, the template is never used.</p>
  
  <p>I use it inside an eXist-db app (3.0RC1) but I think this is not associated with eXist-db. There is FOP 1.1. I am not sure about the Saxon version.</p>