title: parse xml file with php and simplexml_load_file forget newline
body: <p>using php to parse this xml code:</p>
  <pre><code>&lt;description&gt;&lt;![CDATA[foobar
  
  foobar2
  
  foobar3]]&gt;&lt;/description&gt;
  </code></pre>
  <p>The problem is when I parse with <code>simplexml_load_file</code> I forget the orginal format:</p>
  <pre><code>$content = simplexml_load_file(&quot;my_file.xml&quot;);
  $a = $content-&gt;description;
  echo $a;
  </code></pre>
  <pre><code>foobar foobar2 foobar3
  </code></pre>
  <p>How can I preserve the original format?</p>
  <p><strong>Note</strong>: I can't edit the xml file, I must use <code>simplexml_load_file</code></p>