I'm looking at automating workflow using XML and scripting.It will be a per-spread workflow, with a limited amount of options for a spread to contain items, let's say a page contains either 1 item, 2 items or 3 items.
For each possibility, there's a masterpage, but it's not known what masterpage to apply until the XML is imported. I'd like to automate that if possible. I am hoping that a simple processing instruction in the XML could take care of this, but I'm not sure. It might also need to be scripted, in which case I think the whole process of importing the XML must be scripted.
Any tips or ideas?
You can map the xml to styles.
If you place the mapped XML, you could script autoflow, and the application of the master pages.
If that's too much work, you can use AutoFlow Pro http://in-tools.com/autoflowpro.html to automatically add pages as needed, and apply the correct master pages on import...
Innovations in Automation