This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Evaluating using xsl:if
- To: xsl-list at mulberrytech dot com
- Subject: Evaluating using xsl:if
- From: "satish gvs" <gvs_sat at hotmail dot com>
- Date: Fri, 29 Sep 2000 23:50:06 GMT
- Reply-To: xsl-list at mulberrytech dot com
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