This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Evaluating using xsl:if


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]