Hi All,

In my current project i need to display xml content as html output.

Iam using XSLT to process the incoming xml message into html output values.

We are reusing existing XSLT files, so in one of the file we have something like below code, which uses xpath count function with action tag.

I want to know how the below line works here. I understand that the below line is checking for a value in the if condition then displaying the image associated with it. But what is the role of action in this method.

I know count will return you the integer value of the nodeset passed inside.

Please explain me what is the role of action () here. $DValue and $pair is populated using param tag in xslt.

<xsl:if test="count(action[($DValue='Update' and $DValue = $pair)])=0">
<img>
<xsl:attribute name="src"><xsl:value-of select="$check_no"/></xsl:attribute>
</img>
</xsl:if>


Thanks,
Vijay