Subject: RE: Evaluating using xsl:if From: "Chris Bayes" <Chris@xxxxxxxxxxx> Date: Sat, 30 Sep 2000 07:07:13 +0100 |
Satish, Try <xsl:variable name="account" select="on" /> ... <xsl:if test="$account='on'"> Ciao Chris XML/XSL Portal http://www.bayes.co.uk/xml >-----Original Message----- >From: owner-xsl-list@xxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of satish gvs >Sent: 30 September 2000 00:50 >To: xsl-list@xxxxxxxxxxxxxxxx >Subject: 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Evaluating using xsl:if, satish gvs | Thread | Passing parameters to xsl from jsp, Priya Pinto |
Evaluating using xsl:if, satish gvs | Date | Passing parameters to xsl from jsp, Priya Pinto |
Month |