The first step is to create a template that generates a document that includes all the diagrams from a model.
If you use the first method, your template selects only diagrams that have the same names as the ones used to build the template.
The second method uses a generic element, which represents a type of model element that might exist in anyIBM Rational Rhapsody model. By using generic elements, you create a template that can be used with any model. There is another advantage to using generic elements - it is typically faster to build a template with them than with model elements.
To extract diagrams from a model, follow these steps:


Default text and attributes are added to the Text tab. You can edit or remove the text. Attributes specify the information to extract from the model. For example, the «$name» attribute indicates the name of the diagram in the generated document. You add additional text and attributes in a later task.