Beautiful, cheers mate!

One thing tho is it possible to give it a filename?

The script will: export the xml, then convert it to UTF-8 for use in a flash app. If I can avoid the user being given a chance to change anything would be great!