function initTraverse(id) { var file = '${url.context}${document.url}'; loadXML(file); var doc=xmlDoc.documentElement; traverse(doc,id); //objXMLDoc = new ActiveXObject("Microsoft.XMLDOM"); ; //xmlDoc.save(xmlDoc); //alert("here"+xmlDoc);
} </script>
<#– List the user modified files in all web projects the user is assigned to –>
You have an XML file inside your rendered html / javascript. To save it back to the repository, you need to write a web script that allows you to POST or PUT it back onto the server.