Hello, I've got a script that retrieves values from an XML file and merges it into placeholder strings in an InDesign document. The problem is that the XML file is actually online, so each time I need to run the script, I need to open a browser, access the URL, save the XML file to my local hard drive, then run the script. I'd really like to retrieve the file directly from my script, e.g. have the XML file as a parameter: http://www.domain.com/directory/orders.xml.
The last time I tried using a URL in a script was 8 years ago in InDesign version 2.0 and it couldn't be done. Does anyone know if this is not possible now?
Check out this article: http://rorohiko.blogspot.com/2008_07_01_archive.html. The example that comes with it shows how to load a few pictures from web into an InDesign document. Probably you can use the same approach to load an XML- file as well.