title: SelectNodes with Filter
body: <p>Here is my xml:</p>
  
  <pre><code>&lt;Instrument RecordCount="3" &gt;
      &lt;Department id = 18384, Sequence=1&gt;
      &lt;InstrumentData StatusCode="1" RoleType="ED" Style="X" DataOther='Data'&gt;
  &lt;/Department&gt;
  &lt;Department id = 18465, Sequence=2&gt;
       &lt;InstrumentData StatusCode="2" RoleType="CD" Style="S" DataOther='Data'&gt;
  &lt;/Department&gt;
  &lt;Department id = 16473, Sequence=3&gt;
      &lt;InstrumentData StatusCode="1" RoleType="CD" Style="T" DataOther='Data'&gt;
  &lt;/Department&gt;
   &lt;/Instrument&gt;
  </code></pre>
  
  <p>I want @Status attribute ='1' or '2' and not @RoleType='E' and 'F' and @Style ='S' and 'T' for each node.</p>
  
  <p>I have the following statement, but it does not bring back the correct results.</p>
  
  <p><code>XmlNodeList nodeList = root.SelectNodes(@"//Department[InstrumentData/@Status='1'
                     or Department[InstrumentData/@Status='1'
                     and not (Department[InstrumentData/@RoleType='E'
                            or Department[InstrumentData/@RoleType='F')
                     and (Department[InstrumentData/@Style='S'
                            or Department[InstrumentData/@Style='T')
                       ]", manager);</code></p>
  
  <p>Or do I first need to get the first condition, then build xml doc, then get next condition.</p>
  
  <p>Thanks.</p>