Fixed full report ToC

This commit is contained in:
skyanth 2016-11-29 11:51:25 +01:00
parent 9715b8bfeb
commit e3ccd0a0e4

View File

@ -11,17 +11,8 @@
</xsl:template>
<xsl:template match="meta | *[ancestor-or-self::*/@visibility = 'hidden']" mode="toc"/>
<xsl:template match="*[ancestor-or-self::*/@inexecsummary = 'no']" mode="toc">
<xsl:choose>
<xsl:when test="$EXEC_SUMMARY = true()"/>
<xsl:otherwise>
<xsl:apply-templates mode="toc"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<!-- meta, hidden things and children of hidden things not indexed; @inexecsummary="no" items are hidden only when a summary is requested -->
<!-- meta, hidden things and children of hidden things not indexed -->
<xsl:template
match="section[not(@visibility = 'hidden')] | finding | appendix[not(@visibility = 'hidden')] | non-finding"