# Loading Text with XML

**URL:** https://forum.kirupa.com/t/loading-text-with-xml/223227
**Category:** flash
**Created:** [April 20, 2007, 12:29pm UTC](https://forum.kirupa.com/t/loading-text-with-xml/223227 "2007-04-20T12:29:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dr77](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@dr77](https://forum.kirupa.com/u/dr77)
#### Post date: [April 20, 2007, 12:29pm UTC](https://forum.kirupa.com/t/loading-text-with-xml/223227/1 "2007-04-20T12:29:01Z")

</div>

Hello all,

My movie contains a text box which is filled with text that it imports from an XML file.

This works perfectly. However, I am unable to format the text.

I usually use HTML tags in my actionscript to format dynamic text boxes. In an XML document, these tags obviously don’t work.

How can I put line breaks, bold text, itallics etc in a text box loaded from an XML file?

Thanks in advance for any help,

David
