A set of tools for automating InDesign using XML input.
Include tools.jsx in your script and run it using the ExtendScript Toolkit (included with Adobe Creative Suite). The tests folder containes examples of how the tools are applied.
A Javascript library for simplifying InDesign automation with XML.
JavaScript