# XML newline issue

**URL:** <https://forum.kirupa.com/t/xml-newline-issue/267776>\
**Category:** flash\
**Created:** [August 5, 2008, 4:27pm UTC](https://forum.kirupa.com/t/xml-newline-issue/267776 "2008-08-05T16:27:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShooterMG](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/shootermg/32/3695_2.png) [@ShooterMG](https://forum.kirupa.com/u/ShooterMG)\
**Post date:** [August 5, 2008, 4:27pm UTC](https://forum.kirupa.com/t/xml-newline-issue/267776/1 "2008-08-05T16:27:17Z")

</div>

I am having this problem that has left me absolutely baffled. I am importing some XML and saving it to a string. This works fine. The problem is, I can’t get rid of any of the line breaks. I’ve done a str.replace() for &#13 &#10  
\r \s, pretty much anything that could be interpreted as a line break, and nothing works. I still get line breaks when I put the text into a textField or Alert it in Flex. Any help would be appreciated.
