Defining and assigning variables
When designing a template, it might be necessary to calculate
values or to make data attributes available in contexts where they
are normally unavailable. To do this, define variables and assign
them values. The values can be static data or data available in the
current context.
Using conditions in template elements
Use the condition editor to define a Javascript expression
with the data attributes and variables accessible in the current context.
Adding dynamic data elements in the template
You can include dynamic data source elements defined in
the template at runtime. The Data Source Configuration element
allows you to re-configure a data source. This is useful when you
do not know the connection information while starting to design your
document. For example, you if you linked artifacts from two products
A and B, the data source information can be picked up from the B at
runtime. By re-configuring a data source, you change the properties
such as URI, user name, password, and any other data source-specific
properties used by Rational® Publishing Engine when
extracting data.
Queries
A query is a path in the data source schema that is attached
to a template element. A template specifies the data to be extracted
using queries.