title: I do not want to parse some tags in XML
body: <p>Currently this would be a sample XML that I am working on:</p>
  
  <pre><code>&lt;smsq&gt;
    &lt;sms&gt;
    &lt;id&gt;96&lt;/id&gt;
    &lt;to&gt;03333560511&lt;/to&gt;
    &lt;msg&gt;  danial says: hahaha &lt;space&gt; nothing.
    &lt;/msg&gt;
    &lt;/sms&gt;
  &lt;/smsq&gt;
  </code></pre>
  
  <p>Now please notice, that the tag  can contain other tags (which should not be parsed) and I had to make a dtd for that. The dtd was something like this:</p>
  
  <pre><code>&lt;!DOCTYPE smsq [
    &lt;!ELEMENT sms (mID,to,msg,type)&gt;
    &lt;!ELEMENT mID (#PCDATA)&gt;
    &lt;!ELEMENT to (#PCDATA)&gt;
    &lt;!ELEMENT msg (CDATA)&gt;
  ]&gt;
  </code></pre>
  
  <p>But the problem is that XML parser still goes in the  tag and says that the  tag should be closed with a  tag. I just want to fetch the data as it is from the XML and I do not want to parse msg further.</p>
  
  <p>Please help me resolve the problem and tell me if this can be done with DTDs.</p>
  
  <p>Thanks!</p>