How do I write a javascript code to open InDesign template, import XML, save and export to pdf?
I mostly need the help with writing the javascript code to open the InDesign file, import some xml that will be randomly coming in and then saving the document.