Problem when importing a text from XML file
Hi everyone,
I am trying to import a text from an xml file. It's an arabic text, I would like to add an html tag in the xml node.
Here is my xml node:
<price><![CDATA[صدار بديل €]]></price>
Then I set the text property of a spanElement like this:
var _sPrice:String = myXML.price;
var span:SpanElement = new SpanElement();
span.text =_sPrice;
paragraphElement.addChild(span);
Everything works fine BUT when I try to add a <br/> tag to my xml node, like this:
<price><![CDATA[صدار بديل <br/>€]]></price>
It shows the <br/> tag and desn't convert it as a new line !
How can I go to the next line by adding a tag or a char code or .. ???
I also tryed using \n but deos't work as well !!
