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

RE: Boolean expr in <xsl:when>

Subject: RE: Boolean expr in <xsl:when>
From: "Schmoll, Brett x66244" <BSchmoll@xxxxxxxxxxx>
Date: Fri, 22 Feb 2002 11:33:13 -0500
brett schmoll
Thanks for the response, I did try both the <<$and$>> and <<&&>> that were
listed in the MS SDK 2.5 docs, with no success. Is there a simple way to
upgrade each client as they access our site? Unfortunately our app is still
required to support IE 5.5 sp2 with client-side transforms. We haven't quite
made the leap to IE6 yet.

-Brett Schmoll
ADP/SIS

-----Original Message-----
From: Michael Kay [mailto:michael.h.kay@xxxxxxxxxxxx]
Sent: Friday, February 22, 2002 9:08 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Boolean expr in <xsl:when>


In XSLT the operator is indeed "and".

You problem is indeed that you are not using XSLT, but an old Microsoft
language called WD-xsl. I seem to remember that some operators in WD-xsl
were written like $and$, you could try that. But better still, upgrade to
XSLT - the sooner you do it, the lower the cost.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Schmoll,
> Brett x66244
> Sent: 22 February 2002 15:49
> To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'
> Subject:  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
>
>


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

 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.