Saving XML in Gadget using Javascript

Hi,

I have opened an XML in my gadget using XLMDOM, the code is:

if (window.ActiveXObject)
var xmldoc=new ActiveXObject("Microsoft.XMLDOM");
elseif (document.implementation&&document.implementation.createDocument)
var xmldoc=document.implementation.createDocument("","doc",null);
xmldoc.resolveExternals =
true;
xmldoc.preserveWhiteSpace =
true;
xmldoc.validateOnParse =
false;
xmldoc.async =
false;

Please guide me how to save back the changes I make to XML. It is not possible in Javascript, is it? Please guide me a little if I want to do it with ASP.Net with C#. Thanks.

[1471 byte] By [Batman] at [2008-2-2]