Inline elements line breaks

Questions about XML that are not covered by the other forums should go here.
Welblaud
Posts: 14
Joined: Fri Nov 15, 2013 12:31 pm

Inline elements line breaks

Post by Welblaud » Fri Nov 15, 2013 12:41 pm

I am very new to oXygen and can't solve one thing now (in spite of the fact I have tried checking and unchecking all those interesting boxes):

This one line:

Code: Select all

<p><b>Chapter begins here</b></p>
… breaks into this:

Code: Select all

<p>
<b>Chapter begins here</b>
</p>
This one:

Code: Select all

<p>The line which is ok (<b>jaká bude výstupní kontrola</b>, the preferred one</p>
… remains intact.

I am trying to figure out the best possible settings for preparing my files for importing into InDesign. I need to keep lines together. At this moment nothing helps, I have unchecked all boxes in Prefs. > Format > XML but it is still the same. I need only smart removing of empty lines, no more. No indenting, no breaking lines in cases of inline elements.

Thanks in advance.

iulian_velea
Posts: 63
Joined: Fri Dec 12, 2003 6:34 pm
Contact:

Re: Inline elements line breaks

Post by iulian_velea » Fri Nov 15, 2013 1:49 pm

Hello,

You can try adding the elements inside which you do not want additional line breaks to be added to the Mixed content list. The elements from this list are treated as mixed when applying the Format and Indent operation. The main point being that the lines are split only when whitespaces are encountered. You can find this list in the Editor / Format / XML option page.

Best regards,
Iulian

--
Iulian Velea
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Post Reply