title: How come selectSingleNode returns nothing?
body: <p>I am trying to select a node by a unique attribute, however I am getting nothing returned to me.<br>
  I have checked here: <a href="https://stackoverflow.com/questions/3517554/selectsinglenode-returns-nothing">SelectSingleNode returns nothing</a> and here: <a href="https://stackoverflow.com/questions/27645044/why-does-msxml-documentelement-selectsinglenode-returns-nothing">why does Msxml DocumentElement/SelectSingleNode returns nothing?</a> </p>
  
  <p>My goal is to be able to update one of the nodes attributes.<br>
  My XML Looks like this:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;settings&gt;
      &lt;options&gt;
  ... other nodes here ...
     &lt;/options&gt;
    &lt;selected&gt;
      &lt;pref set_number="1" set_name="Five" name="Number" value="5"/&gt;
      &lt;pref set_number="3" set_name="Nine" name="Number" value="9"/&gt;
    &lt;/selected&gt;
  &lt;/settings&gt;
  </code></pre>
  
  <p>And this is my Sub
  (I have commented what I have tried)</p>
  
  <pre><code>Sub WriteXMLAttributeValues()
          Dim oDoc As New MSXML2.DOMDocument
          Dim fSuccess As Boolean = False
          Dim oRoot As MSXML2.IXMLDOMNode = Nothing
          Dim oAtrb As MSXML2.IXMLDOMElement = Nothing
          Dim oLst As MSXML2.IXMLDOMNodeList = Nothing
  
          oDoc.async = False
          oDoc.validateOnParse = False
          fSuccess = oDoc.load("C:\settings.xml")
  
          'oRoot = oDoc.childNodes("settings").childNodes("selected").attributes("set_number")
              'oRoot = oDoc.selectSingleNode("//settings/selected[@set_number='1' and @value='5']")
              'oRoot = oDoc.selectSingleNode("//settings/selected[@set_number='1']")
              'oAtrb.setAttribute("name", "Twenty")
              'oLst = oDoc.selectSingleNode("/settings/selected[@set_number='1']")
              'oAtrb.setAttribute("name", "Twenty")
              oRoot = oDoc.getElementsByTagName("set_number")
              oDoc.save("C:\settings2.xml")
      End Sub
  </code></pre>
  
  <p>I am trying to change the first <strong>&lt; pref ></strong>'s attribute from <strong>"Five"</strong> to <strong>"Twenty"</strong></p>
  
  <p>I would like to know what I am doing wrong so I can properly update the attribute.</p>