title: What is wrong with XPath query in SOAP response
body: <p>I need to create a xpath query that will return everything listed under availabilty element.</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;GetAvailableTimesResult xmlns="http://schemas.test.net/x/version2/2007/06/" resultcode="SearchOk"&gt;
        &lt;Availability&gt;
          &lt;Result available="true" time="2011-10-17T17:00:00"/&gt;
          &lt;Result available="true" time="2011-10-17T17:15:00"/&gt;
          &lt;Result available="true" time="2011-10-17T17:30:00"/&gt;
          &lt;Result available="true" time="2011-10-17T17:45:00"/&gt;
          &lt;Result available="true" time="2011-10-17T18:00:00"/&gt;
          &lt;Result available="true" time="2011-10-17T18:15:00"/&gt;
          &lt;Result available="true" time="2011-10-17T18:30:00"/&gt;
          &lt;Result available="true" time="2011-10-17T18:45:00"/&gt;
          &lt;Result available="true" time="2011-10-17T19:00:00"/&gt;
          &lt;Result available="true" time="2011-10-17T19:15:00"/&gt;
          &lt;Result available="true" time="2011-10-17T19:30:00"/&gt;
          &lt;Result available="true" time="2011-10-17T19:45:00"/&gt;
          &lt;Result available="true" time="2011-10-17T20:00:00"/&gt;
          &lt;Result available="true" time="2011-10-17T20:15:00"/&gt;
          &lt;Result available="true" time="2011-10-17T20:30:00"/&gt;
          &lt;Result available="true" time="2011-10-17T20:45:00"/&gt;
          &lt;Result available="true" time="2011-10-17T21:00:00"/&gt;
          &lt;Result available="true" time="2011-10-17T21:15:00"/&gt;
          &lt;Result available="true" time="2011-10-17T21:30:00"/&gt;
          &lt;Result available="true" time="2011-10-17T21:45:00"/&gt;
          &lt;Result available="true" time="2011-10-17T22:00:00"/&gt;
          &lt;Result available="true" time="2011-10-17T22:15:00"/&gt;
          &lt;Result available="true" time="2011-10-17T22:30:00"/&gt;
               &lt;/Availability&gt;
                   &lt;/GetAvailableTimesResult&gt;
         &lt;/soap:Body&gt;
   &lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>My xpath query returns malformed xpath expression error message, the query is as follows:</p>
  
  <pre><code>//xsi:[soap:body]//Availability
  </code></pre>