Hi -
I am trying to get a count of rows in my list with certain attributes to display in a table. The issue is that if the IMPACT column contains a space in the value, it does not count the entry. If there is no space in the value for IMPACT column, it works. Could you please assist?
<xsl:variable name="RM2A" select="count($Rows[@Impact = '5-Very High'][@Probability = 'Likely'])"/> <!-- Does not work, I believe due to the space between Very and High -->
<xsl:variable name="RM2B" select="count($Rows[@Impact = '4-High'][@Probability = 'Likely'])"/> <!-- WORKS -->
I am trying to get a count of rows in my list with certain attributes to display in a table. The issue is that if the IMPACT column contains a space in the value, it does not count the entry. If there is no space in the value for IMPACT column, it works. Could you please assist?
<xsl:variable name="RM2A" select="count($Rows[@Impact = '5-Very High'][@Probability = 'Likely'])"/> <!-- Does not work, I believe due to the space between Very and High -->
<xsl:variable name="RM2B" select="count($Rows[@Impact = '4-High'][@Probability = 'Likely'])"/> <!-- WORKS -->