title: XML not working with php
body: <p>I made a code in php. I want a XML output in browser but it shows error. Actually it works fine in locally. But when i hosted it shows error as "XML Parsing Error: junk after document element".</p>
  
  <pre><code> &lt;?php
   header("Content-type: text/xml");
   echo '&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;';
   echo '&lt;group&gt;';
   echo '&lt;family&gt;';
   echo '&lt;person&gt;';
   echo 'first name';
   echo '&lt;/person&gt;';
   echo '&lt;/family&gt;';
   echo '&lt;/group&gt;';
  ?&gt; 
  </code></pre>
  
  <p>plese help me.</p>