# \[XML\] Keeping XML formatted after sendAndLoad

**URL:** <https://forum.kirupa.com/t/xml-keeping-xml-formatted-after-sendandload/65478>\
**Category:** programming\
**Created:** [September 26, 2004, 11:10pm UTC](https://forum.kirupa.com/t/xml-keeping-xml-formatted-after-sendandload/65478 "2004-09-26T23:10:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![friendcalledben](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/friendcalledben/32/612_2.png) [@friendcalledben](https://forum.kirupa.com/u/friendcalledben)\
**Post date:** [September 26, 2004, 11:10pm UTC](https://forum.kirupa.com/t/xml-keeping-xml-formatted-after-sendandload/65478/1 "2004-09-26T23:10:20Z")

</div>

Hi to all,

I’m sorry, I read the solution to this somewhere on Kirupa but I can’t find it again.

Can anyone tell me a way to keep an XML file’s formatting that is being pulled into Flash and edited. Whenever my program sendAndLoads an external XML file it removes all the formatting and turns into one big block of text so I have to reformat it when I want to edit it in Dreamweaver.

Cheers for any help,

ben

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 26, 2004, 11:52pm UTC](https://forum.kirupa.com/t/xml-keeping-xml-formatted-after-sendandload/65478/2 "2004-09-26T23:52:45Z")

</div>

Its somewhere in the introduction to XML tutorial. Either in the specific issues section or the code samples. check it out

[kirupa.com/web/xml](http://kirupa.com/web/xml)
