This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: comparing
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 22 Apr 2002 16:29:27 +0100
- Subject: RE: [xsl] comparing
- Reply-to: xsl-list at lists dot mulberrytech dot com
> This one works perfectly:
>
> <xsl:when test=".[NoofCallsDR !='0']">
>
> </xsl:when>
>
> But this one is refusing to work:
>
> <xsl:when test=".[NoofCallsDR !='0' and NoofCallsDJ !='0']">
>
> </xsl:when>
Neither of these is correct at XSLT 1.0. The "." expression cannot be
followed by a predicate. Perhaps you are using WD-xsl?
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list