Allow finding_count to use (multiple) status attribute values

This commit is contained in:
Peter Mosmans 2019-09-25 12:23:52 -07:00
parent 1d15497bee
commit ccb0f76213

View File

@ -466,7 +466,14 @@
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="count(//finding)"/>
<xsl:choose>
<xsl:when test="$statusSequence">
<xsl:value-of select="count(//finding[@status = $statusSequence])"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="count(//finding)"/>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:template>