-
Save XML file?
Hi,
I want to be able to save/load XML data from a script but can’t figure out the file system side of things, here is the code I am trying to write (basic test for now):
var myBooks = new XML ( XML IN HERE );var myPath = "~/Desktop/myXML.xml";
myBooks.file = new File(myPath);
myBooks.file = File.saveDialog("Save the XML file");
But it’s not working. The save dialog open but cannot save anything.
Anyone know how to do this?Thanks,
S