Copy link to clipboard
Copied
I’m trying to use dynamic XML data in Adobe InDesign to populate a template, but I’m struggling with setting it up correctly. My goal is to have 4 independent text frames on each page, filled with XML data, and for this to repeat across 365 pages.Later, the rest of the design I want to use will come from the master page. I want the XML to ignore all the empty space on the page and only flow into those 4 independent text frames.
Here’s where I’m running into problems:
I can only make the 4 independent text frames work if I place them directly under the root in the Structure Panel.
If I drag the root folder into the first page, InDesign ignores my independent text frames altogether. Instead of flowing the data into the 4 separate frames, it combines all the data into one column or stacks it beside each other.
To summarize: I want InDesign to flow the XML data into 4 independent text frames on each page, completely ignoring the empty space outside of those frames, and repeat this process for 365 pages. I’m stuck and can’t figure out how to set up the template or structure panel properly to achieve this.
Any help or guidance would be greatly appreciated!
Copy link to clipboard
Copied
Hi everyone,
I’ve made some progress and managed to connect my text frames using anchors. However, I’m now stuck. I can’t figure out how to force the XML data to populate across multiple pages instead of placing everything on the same page.
Any guidance on how to make the data flow automatically onto the rest of the pages would be greatly appreciated!
Thanks in advance!
Copy link to clipboard
Copied
Do it have to be XML?
Try DataMerge instead.
Copy link to clipboard
Copied
Yes it should be XML. After DataMerge the data is not updateable anymore.
Copy link to clipboard
Copied
How do you plan on updating source XML?
And why?
Copy link to clipboard
Copied
I prefer using XML over Data Merge because XML allows me to import the content as a linked file. This means that if I need to update or change the data—like a 365-day calendar, for example—I can simply modify the external XML file. InDesign will automatically reflect those changes throughout the entire document.
With Data Merge, once the data is imported, it becomes static, and I would have to re-import or manually adjust the content if any updates are needed. XML offers a far more dynamic, flexible, and efficient workflow for projects where the content might change frequently or require quick global updates.
Copy link to clipboard
Copied
There is always more than one way to skin the cat.
Not sure why, but I've thought that you are looking for both ways update, sorry.
If you want to be able to just re-import data - update your document - try InDesign Tagged Text.
But if your change would be limited to a design - different layout - then DataMerge still fits the bill.
Copy link to clipboard
Copied
Thanks for the tip
Find more inspiration, events, and resources on the new Adobe Community
Explore Now