added default execsummary value

if the section numbering template is called from the finding summary generation routine (e.g. to add a number to a linked finding), it does not have the $execsummary param available since the summary table is generated from a nodeset variable compiled before starting on the content.
This commit is contained in:
skyanth
2020-01-07 07:39:28 +01:00
parent 722d64b0c1
commit ac2eb75029

View File

@@ -36,7 +36,7 @@
<xsl:template
match="section[not(@visibility = 'hidden')] | appendix[not(@visibility = 'hidden')]"
mode="number">
<xsl:param name="execsummary" tunnel="yes"/>
<xsl:param name="execsummary" select="false()" tunnel="yes"/>
<xsl:choose>
<xsl:when test="$execsummary = true()">
<xsl:choose>