title: How Do I Set XML Content-Type in Flex 3?
body: <p>I've got a Flex 3 project. Flex makes an ExternalCall to some Javascript. The Javascript is then turned into XML. </p>
  
  <p>But, my xml isn't parsing in IE. It works in all other browsers. I think that the problem is that I haven't set the XML's content-type and IE doesn't like that. So my code looks like: </p>
  
  <pre><code>myReturn =  '&lt;myXMLReturn&gt;' + myReturn + '&lt;/myXMLReturn&gt;';
  
  myReturn = '&lt;?xml version="1.0" encoding="UTF-8"?&gt;' + myReturn;
  
  xmlReturn = new XML(myReturn);
  </code></pre>
  
  <p>How would I set: header('Content-type: application/xml'); in Actionscript? </p>
  
  <p>As I understand it IE requires that the Content-type be set. Is this correct?</p>
  
  <p>Thank you.</p>
  
  <p>-Laxmidi</p>