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
- Subject: Re: [xsl] multiple test?
- From: David_Marston at lotus dot com
- Date: Thu, 21 Jun 2001 15:29:22 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
Dennis L. asks:
>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?
A copy of the XPath spec, I guess. XPath 3.4 says that 'and' is the
proper operator. Yes, it's case-sensitive.
.................David Marston
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list