Is it possible to set a fixed height for a block regardless of the contents inside it? I have a block that sometimes displays some text, but sometimes it should be empty and maintain the same height:
<xsl:choose> <xsl:when test="$condition"> <fo:block height="30mm"> <xsl:text>TEXTTEXT</xsl:text> </fo:block> </xsl:when> <xsl:otherwise> <fo:block height="30mm"> <xsl:text> </xsl:text> </fo:block> </xsl:otherwise> </xsl:choose>
source share