Allow finding_count to use (multiple) status attribute values
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user