[xsl] Check the variable value

Subject: [xsl] Check the variable value
From: John Robb <john_ok@xxxxxx>
Date: Fri, 05 Aug 2005 12:51:17 +0300
How is it possible to check if the variable has some value or not.The variable value is text.

<xsl:variable name="image" select="IMAGE"/>
<xsl:if test="@image = null ">
  <xsl:text>asfa</xsl:text>
</xsl:if>

<TOPIC>
    <TITLE>Google</TITLE>
    <URL>http://www.eggheadcafe.com/default.asp</URL>
    <IMAGE>images/model-icon.gif</IMAGE>
  </TOPIC>
  <TOPIC>
    <TITLE>Actions</TITLE>
    <URL>http://www.eggheadcafe.com/forums.asp</URL>
    <IMAGE></IMAGE>
  </TOPIC>

Current Thread