# XML Value

**URL:** <https://forum.kirupa.com/t/xml-value/136475>\
**Category:** Uncategorized\
**Created:** [February 5, 2005, 6:24am UTC](https://forum.kirupa.com/t/xml-value/136475 "2005-02-05T06:24:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SmoothDime](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@SmoothDime](https://forum.kirupa.com/u/SmoothDime)\
**Post date:** [February 5, 2005, 6:24am UTC](https://forum.kirupa.com/t/xml-value/136475/1 "2005-02-05T06:24:26Z")

</div>

hi,

im storing text for a text field in XML. my problem is with the new line characters…

if i do this…

my\_txt.text = “test  
test”;

i get:

test  
test

if i have an xml node like this:

\<n\>test  
test\</n\>

and then assign it to a textfield’s .text i get this:

test  
test

anyone know how to make it look like this:

test  
test

using the xml way.

thanks
