# How do I put a new line character in XML?

**URL:** <https://forum.kirupa.com/t/how-do-i-put-a-new-line-character-in-xml/155859>\
**Category:** flash\
**Created:** [July 20, 2005, 9:56pm UTC](https://forum.kirupa.com/t/how-do-i-put-a-new-line-character-in-xml/155859 "2005-07-20T21:56:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OM2](https://avatars.discourse-cdn.com/v4/letter/o/3ab097/32.png) [@OM2](https://forum.kirupa.com/u/OM2)\
**Post date:** [July 20, 2005, 9:56pm UTC](https://forum.kirupa.com/t/how-do-i-put-a-new-line-character-in-xml/155859/1 "2005-07-20T21:56:03Z")

</div>

I’ve got an XML document that contains text.

The text is read in and put into a HTML format text box.

I want my text to have new line characters.

I’ve tried using \<br\> hoping this would work in the HTML text, but this doesn’t work.

Is there a special character code I can use?

Thanks.

OM
