title: How to Include an unparsed external entity value in a XML?
body: <p>I have an xml syntax error with this example :</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;!DOCTYPE foo [
      &lt;!ENTITY rules SYSTEM "file://data.txt"&gt;
  ]&gt;
  &lt;extract&gt;
      &lt;data&gt;&amp;rules;&lt;/data&gt;
  &lt;/extract&gt;
  </code></pre>
  
  <p>where data.txt contains :</p>
  
  <pre><code>1    &lt;15024
  2    &gt;15023
  </code></pre>
  
  <p>But of course I have syntax error because there are wml special chars in the text file ( &lt; > ). So how can I include these data as unparsed data ?</p>
  
  <p>I hope to have something like this result :</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;extract&gt;
      &lt;data&gt;&lt;![CDATA[1    &lt;15024
  2    &gt;15023]]&gt;&lt;/data&gt;
  &lt;/extract&gt;
  </code></pre>