Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with html tag in xml

Status
Not open for further replies.

malky800

Programmer
Dec 4, 2008
1
US
have an xml file that pulls into a flash output file based on actionscript.
Within my xml tag I have html tags like <b>bold this</b>
and <i>italics</i>.
When I go to my output file it correctly bolds the text but for some reason adds a , where that <b> tag was and another , by the </b>
On another file I have a similiar problem where instead of adding a , it adds an extra line break wherever I have this <b> </b>tag



<item icon="assets/free-gift-thumbnails_01.png" full="assets/zoom1.jpg">
<body><b>Flatware: </b>This set, Georgian by Towle, which includes service for 12 and hostess pieces, is made of 18/10 stainless steel and is dishwasher safe. Perfect for either weekday or Shabbos use. Retails at $239!
</body>
</item>


In my actionscript:

description_txt.htmlText = xml.body;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top