Copy link to clipboard
Copied
Hi, I am quite new to DTD, and EDD, including read/write rules and things.
The problem is, now I have made a application ready with an EDD based on a DTD, then applied it to an XML file.
(I am using ver2015)
The XML file goes...
<para>123<emphasis><termA>456</termA><emphasis>789</para>
Then displayed as...
123
456
789
However, the result I want is...
123456789
So I tried read/write rule...
writer
{
line break is 1000 characters;
}
However, still the bad line break is inserted after </termA>.
Could please anyone help this situation?
Copy link to clipboard
Copied
This is an easy fix. The emphasis element must be defined as a text range. It will then work as you expect. Also because you have a nested termA element that too must be a text range. In the edd it will look like this:
The read/write rule that you mention plays no part in the display of text in a structured FrameMaker document. Its purpose is to define the maximum line length for the XML files that FrameMaker creates.
Copy link to clipboard
Copied
Thank you so much Ian!!!
I edited EDD as you showed me kindly and it worked!!!