Hello Everyone,
Can u please tell me how can i paas variable value in if contion.
I want to do like this :
Code:
<xsl:template match="Employee">
<xsl:when test="$emp='john'">
<xsl:variable name="search">
<xsl:value-of select="'@search=$value"></xsl:value-of>
</xsl:variable>
</xsl:when>
<xsl:if test="$search">
<!-- code -->
</xsl:if>
</xsl:template>
How can i variable 'search' in if condtion.
Thanks
Hari