Jump to content

Xslt If Condition


Krishn60

Recommended Posts

HiI would like to check for Null value to execute a set of codes. But for some reason the Null check is not working.Here is my code. <xsl:if test="$tmpMRIN=''"> MRIN: <xsl:value-of select="$tmpMRIN"/></xsl:if>The variable $tmpMRIN was declared and there was no issue there. But when I do (Not Equal to) it works. <xsl:if test="$tmpMRIN!=''"> MRIN: <xsl:value-of select="$tmpMRIN"/></xsl:if>Don't know what the error is.ThanksKrishnan.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...