This could be possible, but i solved it another way.

if test something = run
  if test something1 = ok
    count(.)
  /if
/if

Sven

Chris Pratt wrote:
> How about adding the counts together?  i.e. count(something = run) +
> count(something1 = ok)
>   (*Chris*)
> 
> -----Original Message-----
> From: Sven Waibel [mailto:[EMAIL PROTECTED] 
> Sent: Monday, August 30, 2004 4:02 am
> To: [EMAIL PROTECTED]
> Subject: Count with conditions
> 
> Hello,
> 
> i'd like to do a query like this one here
> 
> count(something = run && something1 = ok)
> 
> How can i do this?
> 
> One condition is no simple: count(@activity[.='performed'])
> But how can i append the second condition?
> 
> Thanks and regards
> Sven
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
**************************************************************************
* Sven Waibel                                   imbus AG                 *      
* Tel:     09131/7518-36                        Kleinseebacher Str.9     *
* Fax:     09131/7518-50                        91096 Möhrendorf         *
* EMail:   [EMAIL PROTECTED]                    WWW: http://www.imbus.de *
**************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to