Editing exemplar text associations in JET transformations

You can add or remove exemplar text that is associated with an input schema element, attribute, or derived attribute. This functionality enables you to easily find instances of the text in the JET templates that the transformation generates. For each occurrence of the text that you specify, a JET Replace marker is inserted in the JET templates that contain the text. You can then use the Eclipse Quick Fix functionality to view valid replacement options to replace the exemplar text with a JET tag.

Before you begin

You must have a transformation model file open. A transformation model file has the name transform.tma. You must have at least one input schema element or JET file action defined in the transformation input schema, and at least one JET template must have been generated as a result of running the Update Project command.

About this task

To edit an exemplar text association:

Procedure

  1. In the editor area, in the Transformation input schema and output actions pane, right-click an element in the transformation input schema; then click Edit Exemplar Text.
  2. In the Edit Exemplar Text dialog box, in the New Text field, specify the exemplar text that you want to replace in the JET templates in the current project.
  3. Click Add.
  4. Repeat steps 2 and 3 as necessary.
  5. Click OK.

What to do next

In the JET templates of the current project, a JET Replace marker is inserted at each occurrence of text that is specified in the list.

Feedback