title: XML SOAP Parse VBA
body: <p>I have an XML API response which I am trying to parse in VBA. I am trying to use</p>
  <p><code>objXML.selectNodes(&quot;//soap:Envelope/soap:Body/ConsignmentTrackingGetFullDetailsV3Response/ConsignmentTrackingGetFullDetailsV3Result/FullConsignmentDetails/ConsignmentStatuses&quot;)</code></p>
  <p>but this doesn't appear to find any nodes.</p>
  <p>I have also looked at the <code>objXML.getElementsByTagName</code> but this doesn't work either</p>
  <p>I am able to access these nodes by using a number of childnodes but this doesn't seem very efficient.
  I am new to SOAP but have tried to add namespaces.</p>
  <p>The XML response is below.</p>
  <pre><code>&lt;soap:Envelope xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;&gt;
     &lt;soap:Body&gt;
        &lt;ConsignmentTrackingGetFullDetailsV3Response xmlns=&quot;http://webapp-cl.internet-delivery.com/ThirdPartyIntegrationService&quot;&gt;
           &lt;ConsignmentTrackingGetFullDetailsV3Result&gt;
              &lt;ResultState&gt;Successful&lt;/ResultState&gt;
              &lt;FullConsignmentDetails&gt;
                 &lt;ConsignmentNumber&gt;31487490001622&lt;/ConsignmentNumber&gt;
                 &lt;ConsignmentStatuses&gt;
                    &lt;GetConsignmentDetailsStatus&gt;
                       &lt;StatusCode&gt;2&lt;/StatusCode&gt;
                       &lt;StatusDescription&gt;Collected&lt;/StatusDescription&gt;
                    &lt;/GetConsignmentDetailsStatus&gt;
                    &lt;GetConsignmentDetailsStatus&gt;
                       &lt;StatusCode&gt;4&lt;/StatusCode&gt;
                       &lt;StatusDescription&gt;Out For Delivery&lt;/StatusDescription&gt;
                    &lt;/GetConsignmentDetailsStatus&gt;
                 &lt;/ConsignmentStatuses&gt;
              &lt;/FullConsignmentDetails&gt;
           &lt;/ConsignmentTrackingGetFullDetailsV3Result&gt;
        &lt;/ConsignmentTrackingGetFullDetailsV3Response&gt;
     &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  <p>Any suggestions on how to efficiently parse the required nodes would be appreciated.</p>