title: SOAP - PHP is possible to change 'ns1' tag name?
body: <p>I need send a XML with this format:</p>
  
  <pre><code>&lt;soapenv:Body&gt;
  &lt;loc:amount&gt;
    &lt;loc:user&gt;user_name&lt;/loc:user&gt;
    &lt;loc:charge&gt;
      &lt;description&gt;description_text&lt;/description&gt;
    &lt;/loc:charge&gt;
  &lt;/loc:amount&gt;
  </code></pre>
  
  <p></p>
  
  <p>I have generate the XML body with soapVar, but I cant change "ns1" tag.
  Source:</p>
  
  <pre><code>$var = '&lt;loc:amount&gt; &lt;loc:user&gt;user_name&lt;/loc:user&gt; &lt;loc:charge&gt; &lt;description&gt;description_text&lt;/description&gt; &lt;/loc:charge&gt; &lt;/loc:amount&gt;';    
  $params[0] = new SoapVar($var,XSD_ANYXML,'amount','http://mydomain.cm');
  </code></pre>
  
  <p>And the header result is this:</p>
  
  <pre><code>&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://mydomain.cm" xmlns:ns2="http://header_domain.cm"&gt;
  </code></pre>
  
  <p>I need this result:</p>
  
  <pre><code>&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:loc="http://mydomain.cm" xmlns:ns2="http://header_domain.cm"&gt;
  </code></pre>
  
  <p>Is possible to change 'ns1' tag to 'loc'??</p>
  
  <p>Thanks</p>