title: Multiple queries with Xquery
body: <p>I just ran this xquery and it works just fine</p>
  
  <pre><code>&lt;usp&gt;{count(for $e in doc("yyyyyy.xml")/Games/Game/Event
  
  where $e/@player_id = 14937
    and $e/@type_id = 1
    and $e/@outcome = 0
  
  let $c := count($e[Q[@qualifier_id = "2"]])
  return if($c&lt;1)
        then $e/@event_id
        else ())}&lt;/usp&gt;
  </code></pre>
  
  <p>However, no I would like to run this query for $e/@outcome = 1 too. How can I do this? I would like to avoid making a new xquery for it.</p>
  
  <p>Thanks in advance</p>