We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfad5b2 commit 6621a6cCopy full SHA for 6621a6c
1 file changed
xsl/xccdf-report-oval-details.xsl
@@ -182,14 +182,15 @@ Authors:
182
<td>
183
<xsl:choose>
184
<xsl:when test="@var_ref">
185
+ <xsl:variable name="matching_var" select="$tested_var[@variable_id = current()/@var_ref]"/>
186
- <xsl:when test="count($tested_var) > 1">
187
+ <xsl:when test="count($matching_var) > 1">
188
<table>
- <xsl:apply-templates mode='tableintable' select="$tested_var"/>
189
+ <xsl:apply-templates mode='tableintable' select="$matching_var"/>
190
</table>
191
</xsl:when>
192
<xsl:otherwise>
- <xsl:apply-templates mode='normal' select="$tested_var"/>
193
+ <xsl:apply-templates mode='normal' select="$matching_var"/>
194
</xsl:otherwise>
195
</xsl:choose>
196
<xsl:apply-templates mode='message' select='key("ovalsys-object", $object_id)'/>
0 commit comments