RTKHOT
asked on
html formatting not appearing
i am creating a website in flash MX which reads data from an xml file. the xml file contains a list of news article titles. the problem i face is this:-
some of the news articles have html formatting tags in them (like <br>, <u>, <a href> etc.) except for the underline tag, none of the other html tags work. the bold and italic tags appear as actual text. the anchor tag does not show at all. what should i do?
some of the news articles have html formatting tags in them (like <br>, <u>, <a href> etc.) except for the underline tag, none of the other html tags work. the bold and italic tags appear as actual text. the anchor tag does not show at all. what should i do?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
can yuo give an example of your XML?
ASKER
<News_Content><B>Phi ladelphia, PA, September 22, 2003 </B></News_Content>
this is just an example. i also have italic, and anchor elements emebedded. i tried substituting the < with the xml code (<b>) and also directly as <b>. all 3 did not work.
this is just an example. i also have italic, and anchor elements emebedded. i tried substituting the < with the xml code (<b>) and also directly as <b>. all 3 did not work.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
var node:XML = new XML("<B><A href='dsd'>test</A></B>");
trace(node.firstChild.toSt ring());
nisha.htmlText = node.firstChild.toString()
trace(node.firstChild.toSt
nisha.htmlText = node.firstChild.toString()
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Just Remove the CDATA..(Character formatting Tag)