This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Boolean expr in <xsl:when>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]