title: XPATH Multiple Element Filters
body: <p>I have the following sample XML structure:</p>
  
  <pre><code>&lt;SavingAccounts&gt;
      &lt;SavingAccount&gt;
         &lt;ServiceOnline&gt;yes&lt;/ServiceOnline&gt;
         &lt;ServiceViaPhone&gt;no&lt;/ServiceViaPhone&gt;
      &lt;/SavingAccount&gt;
      &lt;SavingAccount&gt;
         &lt;ServiceOnline&gt;no&lt;/ServiceOnline&gt;
         &lt;ServiceViaPhone&gt;yes&lt;/ServiceViaPhone&gt;
      &lt;/SavingAccount&gt;
  &lt;/SavingAccounts&gt;
  </code></pre>
  
  <p>What I need to do is filter the 'SavingAccount' nodes using XPATH where the value of 'ServiceOnline' is 'yes' or the value of 'ServiceViaPhone' is yes.</p>
  
  <p>The XPATH should return me two rows!! I can filter 'SavingAccount' nodes where both of the element values are yes like the following XPATH sample, but what I want to do is an or element value comparison???</p>
  
  <pre><code>/SavingAccounts/SavingAccount/ServiceOnline[text()='yes']/../ServiceViaPhone[text()='yes']/..
  </code></pre>