Overwrite a xml file from via ASP or CGI

does anyone know where i can find a simple xml overwrite script in ASP or CGI on the server?

i want to update xml data on the server via flash, but i don’t know anything about server side scripting. please help.