im usin an xml file to import url links to my flash file…
here is an Example link:
<Link1> http://www.google.co.il/search?hl=iw&q=kirupa&meta=&aq=f&aqi=&aql=&oq=&gs_rfai= </Link1>
and im loading the xml file like so:
var loaderBODY:URLLoader = new URLLoader();
loaderBODY.addEventListener(Event.COMPLETE,loadXMLBODY);
loaderBODY.load(new URLRequest("TXTDATA.XML"));
function loadXMLBODY(e:Event):void {
var xml=new XML(e.target.data);
var xDoc:XMLDocument = new XMLDocument();
xDoc.ignoreWhite=true;
xDoc.parseXML(xml.toXMLString());
i load the xml and trace the data i want,
but in Several Chars like “&”(ampersand) im getting something else:
as i know you need to swich “&” with “&” …
or to use <[CDATA[[ Text Here ]]>
but no matter what i do… All the “&” become & When i Import the xml file to the flash file…
this is the “Forbidden” chars :
< < less than
> > greater than
& & ampersand
' ' apostrophe
" " quotation mark
My Question is…
How Do i Get Rid Of This “&” Reaplcing my “&”… ?