title: XPath for parsing SOAP response
body: <p>Given the below SOAP response, how would I use XPATH to do some testing/validation of the content of the response?  NOTE:  I am using RunScope to test our API.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/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;GetValidDataExtractResponse xmlns="http://some.namespace"&gt;
  &lt;GetValidDataForExtractResult&gt;
  &lt;long&gt;1001&lt;/long&gt;
  &lt;long&gt;1002&lt;/long&gt;
    &lt;/GetValidDataForExtractResult&gt;
  &lt;/GetValidDataExtractResponse&gt;
  &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>I can get a valid value back by using: /soap:Envelope/soap:Body
  But, this doesn't get me very far beyond "does something exist in the body".
  I'd like to be able to determine if the "GetValidDataExtractResponse" node contains something, also if the "etValidRentalUnitIdsForExtractResult" node contains X number of items or if that node contains certain values.</p>