title: XSL-FO: Set fixed block height
body: <p>Is there any way I can set a fixed height for a block regardless of the content within it? I have a block which sometimes displays some text but sometimes it needs to be empty and keep the same height:</p>
  
  <pre><code>&lt;xsl:choose&gt;
      &lt;xsl:when test="$condition"&gt;
         &lt;fo:block height="30mm"&gt;
            &lt;xsl:text&gt;TEXTTEXT&lt;/xsl:text&gt;
         &lt;/fo:block&gt;
      &lt;/xsl:when&gt;
      &lt;xsl:otherwise&gt;
         &lt;fo:block height="30mm"&gt;
            &lt;xsl:text&gt;&amp;#160;&lt;/xsl:text&gt;
         &lt;/fo:block&gt;
      &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
  </code></pre>