[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: AndExpression

Subject: RE: AndExpression
From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx>
Date: Wed, 26 Nov 2003 17:42:17 +0100
RE:  AndExpression
No, they can not appear together.
Either it will be 'EFSA', or 'No dissemination' or another value.

So the 2nd part is not always true!

-----Original Message-----
From: Paul DuBois [mailto:paul@xxxxxxxxxxxx] 
Sent: 26 November 2003 17:27
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  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


______________________________________________________________
This message has been scanned for all viruses by BTnet VirusScreen. The
service is delivered in partnership with MessageLabs.

This service does not scan any password protected or encrypted
attachments.  

If you are interested in finding out more about the service, please
visit our website at
http://www.btignite.com/internetservices/btnet/products_virusscreen.htm
==============================================================

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.