Evaluating using xsl:if

Subject: Evaluating using xsl:if
From: "satish gvs" <gvs_sat@xxxxxxxxxxx>
Date: Fri, 29 Sep 2000 23:50:06 GMT
i have a constant declared as follows:
<xsl:variable name="account">
on
</xsl:variable>
in the same xsl if i use the following the condition is not evaluated to true. can anybody answer my question.Is there any way to test this condition?


<xsl:if test="'{$account}'='on'">

     <table cellpadding="0" cellspacing="0" border="0">
	<tr>
	 <td rowspan="3"></td>
	 <td><a href="" target="main" class="secnav">New Account</a></td>
	</tr>
	<tr>
	<td><a href="" class="secnav">Transfer Funds</a></td>
	</tr>
	<tr>
	<td><a href="" class="secnav">Switch Accounts</a></td>
	</tr>
     </table>
 </xsl:if>

thanks in advance.
satish


_________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at http://profiles.msn.com.


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread