title: CDATA to ignore html tags doesn't work
body: <p>Hi I'm passing a message to an attribute in XML. The xml is 'emailBodyXML' and the attribute I want to receive the message is the 'body'. The message I'm passing is contained in a variable 'emailBody'.</p>
  
  <p>I have this code:</p>
  
  <pre><code>emailBodyXML.selectSingleNode("//email").setAttribute("body", "&lt;![CDATA[" + emailBody + "]]&gt;");
  </code></pre>
  
  <p>I put cdata in it because I want it to ignore the html tags the emailBody may contain.
  But when I debug it, the html tags get converted to <code>&amp;lt;</code> or <code>&amp;gt;</code>. I don't like it to get converted to that. I want it to still show '&lt;' and '>'. What's wrong with my code? </p>