Subject: RE: [xsl] how to test a condtion in XSL file ?? From: Don Bruey <dbruey@xxxxxxxxxxxxxxxxxxxxx> Date: Fri, 9 Feb 2001 13:12:19 -0500 |
>From: anand awasthi [mailto:anand-awasthi@xxxxxxx] >now i want to write a rule in XSL which is someting like following : >if ((sessionstartuptime > 56) && ( PageTime <= 50)) || (Transaction Time == >78) >then Dispaly X >else Display Y Try <xsl:choose> <xsl:when test="(SessionStartupTime > 56 and PageTime <= 50) or TransactionTime = 78"> X </xsl:when> <xsl:otherwise> Y </xsl:otherwise> </xsl:choose> Don XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] how to test a condtion in, David Carlisle | Thread | [xsl] How do you get the most recen, Tom Gilbert |
RE: [xsl] So THAT'S what CDATA is f, jim smith | Date | Re: [xsl] International Characters , David Carlisle |
Month |