This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: multiple test?
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] multiple test?
- From: Mark Swardstrom <mark at nimble dot com>
- Date: Thu, 21 Jun 2001 12:18:29 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
You just need to change the syntax:
<xsl:when test="@label = '' and @id = ''">
-----Original Message-----
From: Dennis Luemkemann [mailto:dll@goldencode.com]
Sent: Thursday, June 21, 2001 12:06 PM
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] multiple test?
I have to make two tests in an xsl:when statement and I thought it would
work like this:
<xsl:when test="@label = '' && @id = ''">
However, it doesn't. The processor (xalan) complains:
"The entity name must immediately follow the '&' in the entity
reference."
What am I missing here?
Thanks
Dennis
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list