title: Xml path that have multiple namespaces
body: <p>I can't figure out what namespaces need to be used for following Xml (sample): </p>
  
  <pre><code>&lt;s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt;
        &lt;s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
          &lt;ResponseCharge xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
            &lt;ResponseInfo xmlns="http://www.example.net"&gt;
              &lt;ResponseDetail&gt;
                &lt;ResponseCode&gt;00&lt;/ResponseCode&gt;
                &lt;RequestIdentifier&gt;1029034&lt;/RequestIdentifier&gt;
                &lt;RetrievalReferenceNumber&gt;634716660366&lt;/RetrievalReferenceNumber&gt;
                &lt;ProcessingTime&gt;00:03:314&lt;/ProcessingTime&gt;
              &lt;/ResponseDetail&gt;
              &lt;ResponseTransactionDetail&gt;
                &lt;AVSResponseCode /&gt;
                &lt;CVVResponseCode /&gt;
                &lt;AuthorizationSourceCode /&gt;
                &lt;AuthorizationNumber&gt;004454&lt;/AuthorizationNumber&gt;
              &lt;/ResponseTransactionDetail&gt;
              &lt;EMVResponseData /&gt;
            &lt;/ResponseInfo&gt;
          &lt;/ResponseCharge&gt;
        &lt;/s:Body&gt;
      &lt;/s:Envelope&gt;
  </code></pre>
  
  <p>My code looks like this atm: </p>
  
  <pre><code>    XmlDocument doc = new XmlDocument();
              doc.Load(responseXmlFile);
              var nsmgr = new XmlNamespaceManager(doc.NameTable);
              nsmgr.AddNamespace("s", "http://schemas.xmlsoap.org/soap/envelope/");
              //nsmgr.AddNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance");
              //nsmgr.AddNamespace("xsd", "http://www.w3.org/2001/XMLSchema");
              //nsmgr.AddNamespace("", "http://www.example.net");
              // getting NULL here
              XmlNode node = doc.SelectSingleNode("/s:Envelope/s:Body/ResponseCharge/ResponseInfo/ResponseTransactionDetail/AuthorizationNumber", nsmgr); 
  </code></pre>
  
  <p>I'm following this post: <a href="https://stackoverflow.com/questions/2311526/namespace-manager-or-xsltcontext-needed">Namespace Manager or XsltContext needed</a></p>