RE: [xsl] FW: XPATH 'OR' Operator Syntax Question-SOLVED

Subject: RE: [xsl] FW: XPATH 'OR' Operator Syntax Question-SOLVED
From: "Joran, Peter" <PJoran@xxxxxxxxxx>
Date: Thu, 14 May 2009 12:28:48 -0400
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: [xsl] 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