<script language="javascript">
var xmldoc = new ActiveXObject("Microsoft.XMLDOM");
xmldoc.async = false;
xmldoc.load("room.xml");
//make changes here
//.....
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("POST","room.asp",false);
xmlhttp.setRequestHeader("Content-Type","text/xml");
xmlhttp.send(xmldoc.xml);
</script>
room.asp
<%@ Language="VBScript"%>
<%
set xmldoc = Server.CreateObject("Microsoft.XMLDOM")
xmldoc.load Request
xmldoc.save Server.MapPath("room.xml")
%>