Subject: RE: [xsl] AndExpression From: "Brinkman, Theodore" <Theodore.Brinkman@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 26 Nov 2003 11:59:03 -0500 |
Just a guess, but I think he might have teen trying for: <xsl:when test="@objname='Document' and not($doc_scope='EFSA' or $doc_scope='No dissemination')"> or: <xsl:when test="@objname='Document' and ($doc_scope!='EFSA' and $doc_scope!='No dissemination')"> - Theo -----Original Message----- From: Paul DuBois [mailto:paul@xxxxxxxxxxxx] Sent: Wednesday, November 26, 2003 11:27 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] AndExpression On Wed, Nov 26, 2003 at 04:41:46PM +0100, SHEIKH Sajjad wrote: > Hi all, > The following statement does not seem to work and I have no idea why? > > <xsl:when test="@objname='Document' and ($doc_scope!='EFSA' or > $doc_scope!='No dissemination')"> > > Does anyone know why it doesn't work? > /s No, although one possible problem is that $doc_scope cannot ever be both 'EFSA' and 'No dissemination' at the same time. It appears that the second part of your 'and' is always true (and thus useless). 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] AndExpression, Paul DuBois | Thread | RE: [xsl] AndExpression, Martinez, Brian |
RE: [xsl] xsl:variable?, Andreas L. Delmelle | Date | RE: [xsl] AndExpression, Martinez, Brian |
Month |