Mobile app version of vmapp.org
Login or Join
Eichhorn212

: Tell InDesign how to insert an XML structure I have a few questions about the InDesign XML import. So, when I import my XML file, I get a structure which I can insert into the document.

@Eichhorn212

Posted in: #AdobeIndesign #Xml

I have a few questions about the InDesign XML import.

So, when I import my XML file, I get a structure which I can insert into the document. I would like to customize the way that InDesign puts the XML structure into the document. To give you a little background information: I write the content for the inDesign-document in Markdown, export that as html and edit a few lines in the resulting html file to get a valid xml file (I know that one could question the efficiency of this workflow, but please don't). Thus, I have many <p>, <ul>, <li>, <h1> - <h6> and other html-tags in the xml file that I import in InDesign.

So, what is the best way to tell InDesign how to deal with these elements?
A few examples of what I want to customize:


InDesign inserts consecutive <li>-elements as individual paragraphs each. I would prefer all consecutive list-elements to be inserted as one paragraph with soft wraps between each element.
I would like to be able to tell inDesign to import certain Elements (respectively xml-tags) not as paragraphs, but as table cells or 1x1 tables.
I want InDesign to insert the content of <pre> and <code> elements as one paragraph with soft wraps.


Is there a way to do this (as well as similar customizations)? If there are multiple options, it would be great if you could tell me the pros and cons to them!

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Eichhorn212

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme