Quantcast
Channel: Adobe Community : Discussion List - InDesign
Viewing all articles
Browse latest Browse all 65617

Force line breaks in XML import?

$
0
0

I'm trying to use XML as a datasource for a book project in InDesign... Specifically, I'd like to use the XHTML version of the book.

 

The problem I'm running into is that I can't force XML elements to create line breaks once it's in InDesign. For example, given the X(HT)ML markup:

 

<h2>Chapter Title</h2><h3>Subtitle of Chapter</h3><p>Here is the content of the chapter.</p>

 

The InDesign winds up looking like this:

[Chapter Title][Subtitle of Chapter][Here is the content of the chapter.]

No matter how I map the tags to Character or Paragraph Styles, I can't get InDesign to create the line breaks for me.

 

I'm really stuck. I know I can Find & Replace to add carriage returns to the XML just before the closing tags, but why should I have to do that? There has to be a way to tell InDesign that certain Paragraph Styles must be followed by a break... Right?


Viewing all articles
Browse latest Browse all 65617

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>