title: Find through multiple attributes in XML
body: <p>I'm trying to search multiple attributes in XML :</p>
  
  <pre><code>&lt;APIS&gt;
    &lt;API Key="00001"&gt;
      &lt;field Username="username1" UserPassword="password1" FileName="Filename1.xml"/&gt;
      &lt;field Username="username2" UserPassword="password2" FileName="Filename2.xml"/&gt;
      &lt;field Username="username3" UserPassword="password3" FileName="Filename3.xml"/&gt;
    &lt;/API&gt;
  &lt;/APIS&gt;
  </code></pre>
  
  <p>I need to check if in the "field" the Username AND UserPassword values are both what I am comparing with my Dataset values, is there a way where I can check multiple attributes (AND condition) without writing my own logic of using Flags and breaking out of loops. </p>
  
  <p>Is there a built in function of XMLDoc that does it? Any help would be appreciated! </p>