Add XML support for the format script.

Starting to get something that can be imported into InDesign.