<xsl:call-template name="anchor">
<xsl:with-param name="conditional">
<xsl:choose>
- <xsl:when test="title">0</xsl:when>
+ <xsl:when test="title|info/title|blockinfo/title">0</xsl:when>
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:with-param>
</xsl:call-template>
- <xsl:if test="(title or info/title) and $placement = 'before'">
+ <xsl:if test="(title or info/title or blockinfo/title) and $placement = 'before'">
<xsl:call-template name="formal.object.heading"/>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
- <xsl:if test="(title or info/title) and $placement != 'before'">
+ <xsl:if test="(title or info/title or blockinfo/title) and $placement != 'before'">
<xsl:call-template name="formal.object.heading"/>
</xsl:if>
</div>