title: Selecting XML Node with XPath
body: <p>I have a xml where i want to select a node from it here is the xml:</p>
  
  <pre><code>  &lt;?xml version="1.0" encoding="utf-8" ?&gt; 
    &lt;soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;soap:Body&gt;
    &lt;InResponse xmlns="https://ww.ggg.com"&gt;
    &lt;InResult&gt;Error &lt;/InResult&gt; 
    &lt;/InResponse&gt;
    &lt;/soap:Body&gt;
    &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>I am loading it using <code>XmlDocument</code>'s <code>LoadXML</code> and trying to get <code>InResult</code> node but I get null see below please:</p>
  
  <pre><code>xml.SelectSingleNode("//InResult").InnerText;
  </code></pre>