title: Select xml node by two attribute values VBS
body: <p>I've not been able to find an answer for this. I'm writing a VBScript to interact with an xml file.</p>
  
  <p>I'm trying to use selectSingleNode to retrieve an xml node based on two different attribute values something like</p>
  
  <pre><code>set featureNode=objXMLDoc.SelectSingleNode("//Sevo/NCR[@ID='N1']/SN[@ID='006302']/FT[@ID='N ANGLE', @section='E-E']")
  </code></pre>
  
  <p>Where I'm trying to select the feature node that has the attributes ID="N ANGLE", and section="E-E"</p>
  
  <p>I get the error "Expected token "]" found ","" obviously it doesn't like the comma. Does anyone know the right syntax (if this is possible)?</p>
  
  <p>Here is my xml:</p>
  
  <pre><code>&lt;Sevo&gt;
      &lt;NCR ID="N1" PN="30G3955"&gt;
          &lt;SN ID="006302" Op="millvane" ncrDate="6/22/2016 8:43:36 AM" mrbDate=""&gt;
              &lt;FT ID="N ANGLE" Section="E-E" LSL="32.243" USL="32.909"&gt;32.240&lt;/FT&gt; 
              &lt;FT ID="N ANGLE" Section="L-L" LSL="25.336" USL="26.002"&gt;25.300&lt;/FT&gt; 
          &lt;/SN&gt;
      &lt;/NCR&gt;
  &lt;/Sevo&gt;
  </code></pre>
  
  <p>Worst case I can get what I want using getElementsByTagName and looping through until I find the node.</p>
  
  <p>Thanks</p>