[xsl] Boolean expr in <xsl:when>

Subject: [xsl] Boolean expr in <xsl:when>
From: "Schmoll, Brett x66244" <BSchmoll@xxxxxxxxxxx>
Date: Fri, 22 Feb 2002 10:48:42 -0500
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