xsl-list
[Top] [All Lists]

Re: [xsl] FW: XPATH 'OR' Operator Syntax Question

2009-05-14 11:15:11
What you need looks more like

       status = 'Here' OR Status = 'Pending' OR Status = 'Accepted'

On Thu, May 14, 2009 at 11:10 AM, Joran, Peter <PJoran(_at_)wbbinc(_dot_)com> 
wrote:
All
Do you know how to use an 'OR' operator in XPATH? I've looked on-line
and I'm coming up empty.
In the expression below I want to count records with a Status = Here OR
Pending OR Accepted.


All thoughts very welcome!
Many Thanks
Pete

count(/dsQueryResponse/Rows/Row[normalize-space(@Status_) = 'Here' and
normalize-space(@Classification_) = $fieldvalue]/@Source)


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





-- 
 - michael dykman
 - mdykman(_at_)gmail(_dot_)com

 - All models are wrong.  Some models are useful.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>