[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

using "and" / "or"

Subject: using "and" / "or"
From: Carlos Pisquem <cpisquem@xxxxxxxxxxxxx>
Date: Fri, 3 Aug 2001 14:02:58 -0400
carlos pisquem
Is there an "and" or a "or" idea available in XSL, in Javascript we can use
&& and the !.
I want to do this check below and to see if num_at_station ="1" and/or
num_at_station ="2" but I don't want to use the same code twice making it
redundant..... so if it's 1 or 2 show one thing otherwise show the
rest......
Is this "and" "or" idea avaible to suit my needs

          <xsl:choose>
          <xsl:when test="num_at_station='1'">
                 <tr>
                   <td width="83">station is 1 or 2  </td>    		
                 </tr>
	  </xsl:when>
	  <xsl:otherwise>
                 <tr>
                   <td width="83">everything else</td>
                 </tr>
          </xsl:otherwise>
        </xsl:choose>


Please let me know ASAP.
Thanks.

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.