Skip to main content

Placement of the region element affects output


Technote (troubleshooting)


Problem(Abstract)

The region property of an element placed right after its target region is not honored in the generated output.

Cause

Internal functioning of the Rational Publishing Engine Microsoft Word driver.

Diagnosing the problem

Example:

A template contains elements in this order:


    <other content>
    Region R1
    Element 1 ( target region = R1)
    Element 2 ( no region)

The expected output is:

    <other content>
    Element 1
    Element 2

But in the output, the content displays in this order:

    <other content>
    Element 2
    Element 1


Note: In this example, specifying the target region for Element 1 is redundant given its relative position.

Resolving the problem

If your element structure matches the pattern in the example and cannot be changed, then add an another of the same element after the region element to work around this issue. This additional element must not contain any content.

To resolve issue for the example above, the template looks like:


    <other content>
    Region
    Element (empty)
    Element 1
    Element 2

When you generate the output, the content displays in this order:

    <other content>
    Element 1
    Element 2

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Rational Publishing Engine

General Information


Software version:
1.2


Operating system(s):
Linux, Windows


Reference #:
1628002


Modified date:
2013-03-21

Translate my page

Content navigation