Regions are static elements that are used to display the
text from another element in the template. When you generate the output,
the content of that element displays where the region element is used
in the template. Region elements are helpful when you have an element
that must be updated frequently.
About this task
The general process of using region elements:
- Add the
Region element in the template where
the content is to appear when the output is generated.
- Enter a name for the region.
- Place an element that must be frequently updated at the beginning
of a template. This element might be, but is not limited to, a paragraph
element or a text element. At the beginning of a template, you can
quickly locate that element to make changes.
- Enter the region name in the Target region property.
When the output is generated, the region element displays the
content of the other element. The other element does not display in
the output.
Note: Conditions that are set on region elements are ignored
because they are not dynamic elements. In HTML and XSL-FO outputs,
region elements are ignored entirely because sections cannot be created
in these outputs.
Procedure
- Add a region element to the template content editor by
one of the following methods:
- From the Palette view, drag a
Region element
into the template content editor.
- In the editor area, right-click and select .
- In the Outline view, right-click Content and
select .
- Select the region element.
- In the Properties view, select the General tab.
- In the Name field, enter a name
for the region element. Example: Region
1
- Click or click the Save icon.
What to do next
- Select an element in the template. Example: Paragraph
- In the Properties view, select the General tab.
- In the Target region field, enter the name
of region. Example: Region 1.
- Save the changes.
When the output is generated, the
Region 1 element
displays the content that the paragraph element with the
Region
1 target region contained. The paragraph element does
not display in the output.
Tip: If you find that the
ordering of the elements is not being honored in the generated output,
add an empty paragraph element after the region element.