[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: multiple test?
From: "Jason Macki" <jmacki@xxxxxxx>
Date: Thu, 21 Jun 2001 14:09:01 -0500
Hi Dennis,

The proper keyword for and is "and", not "&&":

<xsl:when test="@label = '' and @id = ''">

- Jason

-----Original Message-----
From: Dennis Luemkemann [mailto:dll@xxxxxxxxxxxxxx]
Sent: Thursday, June 21, 2001 2:06 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member