title: Cannot convert XML to Object in PHP - returns empty object
body: <p>Below is the XML that I am trying to convert using <code>simplexml_load_string()</code>.</p>
  
  <pre><code>$THE_XML = '&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;
  &lt;soapenv:Body&gt;
    &lt;ns:getMarketsByNpaNxxResponse xmlns:ns="http://ws.inventory.ccds.com" xmlns:ax251="http://exceptions.commons.ccds.com/xsd" xmlns:ax250="http://exceptions.ccds.com/xsd" xmlns:ax260="http://availability.item.productsservices.ccds.com/xsd" xmlns:ax259="http://detail.item.productsservices.ccds.com/xsd" xmlns:ax264="http://item.productsservices.ccds.com/xsd" xmlns:ax257="http://ws.inventory.ccds.com/xsd" xmlns:ax255="http://security.ccds.com/xsd"&gt;&lt;ns:return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ax257:Market"&gt;
      &lt;ax257:marketId&gt;30&lt;/ax257:marketId&gt;
      &lt;ax257:marketName&gt;AZ-FLAGSTAFF&lt;/ax257:marketName&gt; 
      &lt;ax257:npaNxxs&gt;928863&lt;/ax257:npaNxxs&gt;
      &lt;/ns:return&gt;
    &lt;/ns:getMarketsByNpaNxxResponse&gt;
  &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;';
  
  
  $RESULT = simplexml_load_string($THE_XML);
  
  var_dump($RESULT);
  </code></pre>
  
  <p>Returns:</p>
  
  <pre><code>object(SimpleXMLElement)#3 (0) {
  }
  </code></pre>
  
  <p>What am I doing wrong?</p>