# New line in string with XML / AS3

**URL:** <https://forum.kirupa.com/t/new-line-in-string-with-xml-as3/240851>\
**Category:** flash\
**Created:** [October 7, 2007, 9:08am UTC](https://forum.kirupa.com/t/new-line-in-string-with-xml-as3/240851 "2007-10-07T09:08:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan0](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@Dan0](https://forum.kirupa.com/u/Dan0)\
**Post date:** [October 7, 2007, 9:08am UTC](https://forum.kirupa.com/t/new-line-in-string-with-xml-as3/240851/1 "2007-10-07T09:08:35Z")

</div>

Hey,  
my XML looks somthing like this:

```auto
<pro n="school
art book 1" l="tmp" u="08/07" d="examination book 1">

```

everything works fine, but the "  
" does not create a new line when loaded into flash. I’m not sure how to fix this problem, but if I try hard-coding the  
in my actionscript file it works fine.

I hope this is easy to answer, thanks for the help/reading,  
Dan

PS I dont want to have to loop through the string and replace somthing with the "  
" in flash.
