# Saving xml object as xml file

**URL:** <https://forum.kirupa.com/t/saving-xml-object-as-xml-file/268209>\
**Category:** Uncategorized\
**Created:** [August 11, 2008, 1:15pm UTC](https://forum.kirupa.com/t/saving-xml-object-as-xml-file/268209 "2008-08-11T13:15:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![badFortune](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@badFortune](https://forum.kirupa.com/u/badFortune)\
**Post date:** [August 11, 2008, 1:15pm UTC](https://forum.kirupa.com/t/saving-xml-object-as-xml-file/268209/1 "2008-08-11T13:15:38Z")

</div>

Hi,

I’ve loaded my .xml file into an XML object using URLLoader; and URLRequest. I have transfered some of the data into an array and to a data grid, manipulated it etc.

I now have this XML object with updated records. So how do I save it back to a .xml file so the system can re-read the records/data in it when required?

I have tried using the sharedObject class but this only seems to save a .sol file which isn’t what I need.

Thank you
