views:

32

answers:

0

Actionscript 2.0. I use this code to load some data. The data is some text with html tags within a CDATA section, and some other stuff.

var xml_data:XML = new XML();
xml_data.ignoreWhite = true;
xml_data.onLoad = function(success)
{ 
    trace(this);
};
xml_data.load("http://test/data.xml");

Why are all my html tags (and other special characters) converted like from

<p>

to

&lt;p&gt;

And how can i fix this?