# Pulling content from input textField into XML

**URL:** <https://forum.kirupa.com/t/pulling-content-from-input-textfield-into-xml/182283>\
**Category:** flash\
**Created:** [March 16, 2006, 9:35pm UTC](https://forum.kirupa.com/t/pulling-content-from-input-textfield-into-xml/182283 "2006-03-16T21:35:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Macro\_design](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Macro\_design](https://forum.kirupa.com/u/Macro_design)\
**Post date:** [March 16, 2006, 9:35pm UTC](https://forum.kirupa.com/t/pulling-content-from-input-textfield-into-xml/182283/1 "2006-03-16T21:35:03Z")

</div>

Hi,

I’ve managed to create a small CMS for a website of mine. However I’m experincing a slight problem. Whenever I edit the content a second time, the line spaces are deleted.

These

Line

Spaces

= TheseLineSpaces, next time I save the content.

I’m not using \<br\> for new line spaces, since it’s the idea that a few non-coding people should be able to use the schoolsystem I’ve created.

Thanks for the help

[edit] A few errors [/edit]

---

<div class="post-metadata">

**Author:** ![Macro\_design](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Macro\_design](https://forum.kirupa.com/u/Macro_design)\
**Post date:** [March 19, 2006, 11:09am UTC](https://forum.kirupa.com/t/pulling-content-from-input-textfield-into-xml/182283/2 "2006-03-19T11:09:47Z")

</div>

I just tried to create a simple ‘if’ function, so whenever there was a linespace it would insert \<br\> when saved, but it’s still not working, since flash wont allow me to create a linespace in the ActionScript coding…

I don’t know, is there a way to do the above?

Thanks in advance…
