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

Boolean expr in <xsl:when>

Subject: Boolean expr in <xsl:when>
From: "Schmoll, Brett x66244" <BSchmoll@xxxxxxxxxxx>
Date: Fri, 22 Feb 2002 10:48:42 -0500
xsl when boolean
Hi,

	I've had no luck in finding an answer to this in the Faq's or
archives but it seems like a question that would have been asked and
answered long before my query. 

How do I test for multiple conditions in a xsl:when element? e.g. <xsl:when
test="*/foo[.='a'] and */bar[.='b']">

It generates an error message "Expected token 'eof' found 'NAME'.
(*/tradingpowerenabled[.='y']) -->and<-- (*/combineavailablecash[.='n'])"
from the XSL Tester. 

My problem may be that I'm using MSXML 2.6. 

Any ideas?

-Brett Schmoll
ADP/SIS

 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.