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

RE: FW: XPATH 'OR' Operator Syntax Question-SOLVED

Subject: RE: FW: XPATH 'OR' Operator Syntax Question-SOLVED
From: "Joran, Peter" <PJoran@xxxxxxxxxx>
Date: Thu, 14 May 2009 12:28:48 -0400
RE:  FW: XPATH 'OR' Operator Syntax Question-SOLVED
Mike and Mike, thanks for the feedback!

...[normalize-space(@Status_) = ('Here' or @Status_='Pending' or
@Status_='Accepted Offer') and...

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: Thursday, May 14, 2009 11:22 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  FW: XPATH 'OR' Operator Syntax Question



> What you need looks more like
>
>        status = 'Here' OR Status = 'Pending' OR Status = 'Accepted'
>


or in XPath 2.0,

status = ('Here', 'Pending', 'Accepted')

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay

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-2011 All Rights Reserved.