# Using CDATA to interpretate HTML tags on XML

**URL:** <https://forum.kirupa.com/t/using-cdata-to-interpretate-html-tags-on-xml/229565>\
**Category:** programming\
**Created:** [June 18, 2007, 4:36pm UTC](https://forum.kirupa.com/t/using-cdata-to-interpretate-html-tags-on-xml/229565 "2007-06-18T16:36:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![S3nd41](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@S3nd41](https://forum.kirupa.com/u/S3nd41)\
**Post date:** [June 18, 2007, 4:36pm UTC](https://forum.kirupa.com/t/using-cdata-to-interpretate-html-tags-on-xml/229565/1 "2007-06-18T16:36:32Z")

</div>

Hello,

I’m using the tutorial posted on [http://www.kirupa.com/developer/mx2004/xml\_slideshow2.htm](http://www.kirupa.com/developer/mx2004/xml_slideshow2.htm) to make an image slideshow but the text captations I need to use on each image require multi-line, bold and italic effects.

I tried using a CDATA tag with basic HTML tags inside and activated the “Render Text as HTML” option on Flash but he simply copies the whole text into the text field along with the HTML tags instead of correctly interpretating them and breaking the text or applying styles to it.

I recon there’s something missing from the actual actionscript code to make him interpretate the tags after extracting them from the XML document.

Can anyone shed some light on this subject?

Thank you very much,

MACC
