Re: [xsl] multiple test?

Subject: Re: [xsl] multiple test?
From: David_Marston@xxxxxxxxx
Date: Thu, 21 Jun 2001 15:29:22 -0400
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
>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:

Current Thread