I\'m wondering, is it possible to create an XML file with some data in Javascript? I have the data stored in variables.
I\'ve googled around a bit and it doesn\'t see
Only works in IE
$(function(){ var xml = 'bar'; var xmlDoc=new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async="false"; xmlDoc.loadXML(xml); alert(xmlDoc.xml); });
Then push xmlDoc.xml to your java code.