title: Zend Framework Xml DomDocument
body: <p>I have problem with xml DomDucument -> using url of xml file, in Zend Framework.</p>
  
  <p>When i use a fixed written url then works.</p>
  
  <p>Exam.</p>
  
  <pre><code>$path = "http://www.wtatennis.com/dynamicxml/tennis/12781/players/player/13179/rank_history.xml";
  $doc = new DOMDocument();
  $doc-&gt;load($path);
  .
  .
  .
  </code></pre>
  
  <p>But when i try to get xml from post url then doesn't work</p>
  
  <p>Exam</p>
  
  <pre><code>$xml = $this-&gt;_request-&gt;getPost('xml'); //here i get url from form
  $path = $xml;
  
  $doc = new DOMDocument();
  $doc-&gt;load($path);
  .
  .
  .
  </code></pre>
  
  <p>Thanks for help!</p>