I'm trying to import and XML but I always get "User cancelled this action."
var doc = app.open(File('/c/files/test.indd'));
var xml = File('/c/files/test.xml');
doc.importXML(xml); // <-- It halts execution on this line with: User cancelled this action.
Any help or some direction to a decent manual would be highly appreciated.
I was matching my INDD and XML based on tags but my root element had the same name as one of the tags in the INDD document. I hope this helps someone.