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
|