What InDesign Cannot Do (or Do Well) with XML

The 1:1 Import Conundrum

It's fairly natural to expect that you could use one piece of XML data in multiple places in an InDesign layout—but that's not at all the way that InDesign works. Once you've imported XML, there is a one-to-one correspondence between the elements in the Structure view and their expression in the layout. If you want an element to appear multiple times, you've got to duplicate the element for each appearance on a document page. (Obviously, you can get around this in some cases by placing the XML element on a master page.)

Olav Martin Kvern and David Blatner, Real World Adobe InDesign CS2

As the quote above states, the expectation is that you import one XML file to fill one content area (text flow) in your InDesign document. This is contradictory to the spirit of XML, which is all about reuse of content in multiple documents and in multiple ways. For example, you might want a standard warning or copyright or other block of content to appear in many places in a single document of a set of documents collected as a book. From the XML file, you cannot drag the same piece of structure into different locations in a single InDesign document.

Bad Characters

InDesign CS2 XML export controls are more limited than those in InDesign CS3. CS2 does not have the Remap Break, Whitespace and Special Characters option. As a consequence, the XML that you generate from InDesign CS2 may contain characters used in publishing applications ...

Get XML Publishing with InDesign CS2+ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.