multi-page XML import
Hej there,
I am trying to build a automated multi-page InDesign project using XML.
It works quite well when I have my InDesign-structure for all 30 pages, with all pages set up & text frames connected to the XML sidebar structure.
The next step would be to try and import an XML file, which would autocreate the 30 pages from just one preformatted page. Otherwise one simple change would be a ton of work in the master document, which is continuosly being used, not for a single project.
The pages themselves don't need to structurally differ from one another, just their text contents change.
After it didn't initially work in my project, I tried creating a dummy XML:
<content>
<event1>
<a>ASDF1</a>
<b>QWER1</b>
</event1>
<event2>
<a>ASDF2</a>
<b>QWER2</b>
</event2>
<event3>
<a>ASDF3</a>
<b>QWER3</b>
</event3>
</content>
... but it doesn't work yet.
I put the contents of <event1> into 2 separate textframes on page 1 (the only one) and tagged them accordingly. As I said, it works like that when I have 30 pages pre-set up.
I already tried to have <event> containers without the digit, I tried adding empty pages beforehand and I tried out the different import-options – to no avail 😕😕
Do I have to do anything via the master page?
My first impulse was to try and script something, but the InDesign XML documentation seems to be quite thin and coding isn't my strongest skill.
Then I stumbled upon this thread, which I also posted in (but am unsure whether it's being seen as it's marked as solved):
https://community.adobe.com/t5/indesign/build-xml-structure-by-scripting/m-p/11012846?page=1#M180624
So there seems to be a fairly simple solution to this...
Any ideas? °-° 🙂
Thank you & best wishes
Mathis