• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How can I eliminate line break after <emphasis> ???

New Here ,
Feb 27, 2017 Feb 27, 2017

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?

TOPICS
Structured

Views

308

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Feb 28, 2017 Feb 28, 2017

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:

eddTextRange.png

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.

Votes

Translate

Translate
Enthusiast ,
Feb 28, 2017 Feb 28, 2017

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:

eddTextRange.png

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 28, 2017 Feb 28, 2017

Copy link to clipboard

Copied

LATEST

Thank you so much Ian!!!

I edited EDD as you showed me kindly and it worked!!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines