Introduction
This tutorial guides you through the custom attributes
process from adding elements to your template down to the final step
of publishing the output.
The first lesson helps you to
create a template that includes a table as a structure for your data.
The remaining lessons help you to populate the table with dynamic
data from a query and custom queries that are specified when you are
publishing the output.
Included in this tutorial are downloadable Generic XML data
source schema and data files for you to complete the lessons with:
- Data source schema file: tutorialSpecialAttributes.xsd
- Data file: tutorialSpecialAttributes.xml
The schema and the data comes from IBM® Rational® RequisitePro®, but you do not have to have Rational RequisitePro installed to complete the tutorial. Since the data source schema and data are provided for you, you can focus on understanding the general process of creating using custom attributes.
In the data file, there
are attributes entered as if they had been entered into Rational RequisitePro. These attributes include:
| Attribute name | Attribute values |
|---|---|
| Planned for | Milestone 1, Milestone 2, Milestone 3 |
| Archived | true, false |
| Approved by | User 1, User 2, User 3, User 4 |
Learning objectives
- To create a template in the Document Studio application
- To add elements to a template
- To create a variable
- To preview the data as you design a template
- To create custom attributes
- To specify which attributes to use at run time