Flash to XML question

I’m planning a little XML editor that will work very similarly to Senocular’s example of an XML news editor from his super guide to XML in Flash.

The major difference is that mine will be for offline use only.

So what I’m wondering, before I start down an impossible road, is if I can send XML out of flash and have it directly rewrite the XML file instead of having a go between, like the PHP used in Senocular’s example, handle the rewriting of the XML file?