After you declare the rules, extractors, and transforms of a transformation
extension, and specify an ExtendTransform element in the manifest file of
the transformation extension, you can add the elements of the transformation
extension to the ExtendTransform element, and specify the order in which the
elements run.
The plug-in manifest file of the transformation extension must
be open in the manifest editor. The manifest file must contain at least one
TransformationExtension element and at least one ExtendTransform element.
For each rule, extractor, or transform in the transformation extension, the
plug-in manifest file must contain a RuleDefinition, ExtractorDefinition,
or TransformDefinition element.
The location of the AddRule, AddExtractor, and AddTransform elements,
and the corresponding zero-based index value of these elements, indicate where
to insert the element among the existing elements of the target transform.
If you do not specify a value for the index attribute, the element that you
add is appended to the list of elements in the target transform.
To
specify the order of elements in an extended transform:
- In the plug-in manifest file of the transformation
extension, on the Extensions tab, in the TransformationExtension
element hierarchy, right-click an ExtendTransform element; then complete one
of the following steps:
- To add a rule, click AddRule.
- To add an extractor, click AddExtractor.
- To add a transform, click AddTransform.
- In the Extension Element Details area, you must complete the following
steps for the element that you added in step 1:
Note: For more information about the fields in the Extension Element
Details area, place the mouse pointer over the name to display hover help.
- The following table shows the values that you must specify for each
type of element that you add to the target transform.
| Element |
Field |
Value |
| AddExtractor element |
id |
Specify the identifier of the corresponding ExtractorDefinition
element in the TransformationExtension element. |
| transform |
Specify the identifier of the transform that processes
the elements that the content extractor extracts. |
| AddRule element |
id |
Specify the identifier of the corresponding Rule Definition
element in the TransformationExtension element. |
| AddTransform element |
id |
Specify the identifier of the transform that you added
in step 1. |
- Optional: For each element that you add, in
the index field, specify where to insert the new element
in the extended transform. The index value must be zero-based. If you do not
specify a value, the new rule, extractor, or transform is appended to the
list of elements that compose the extended transform.
Tip: You can change the order of the elements in an ExtendTransform
element by editing the plugin.xml file in the transformation extension plug-in.
- Click .