How to Populate a Column of a Cross Reference Table
To populate a column of a cross reference table:
-
In the XSLT Mapper, expand the trees in the Source and Target panes.
-
Drag and drop a source element to a target element.
-
In the Components window, select Advanced.
-
Select XREF Functions.
-
Drag and drop the populateXRefRow function to the line that connects the source object to the target object.
A populateXRefRow icon appears on the connecting line.
-
Double-click the populateXRefRow icon.
The Edit Function – populateXRefRow dialog is displayed, as shown in Figure 44-8.
Figure 44-8 Edit Function – populateXRefRow Dialog
Description of "Figure 44-8 Edit Function – populateXRefRow Dialog" -
Specify the following values for the fields in the Edit Function – populateXRefRow dialog:
-
In the xrefLocation field, enter the location URI of the cross reference file.
Click Browse to the right of the xrefLocation field to select the cross reference file. You can select an already-deployed cross reference from MDS and also from a shared location in MDS using the Resource Palette.
-
In the referenceColumnName field, enter the name of the cross reference column.
Click Browse to the right of the referenceColumnName field to select a column name from the columns defined for the cross reference you previously selected.
-
In the referenceValue field, you can manually enter a value or press Ctrl-Space to launch the XPath Building Assistant. Press the up and down keys to locate an object in the list and press Enter to select that object.
-
In the columnName field, enter the name of the cross reference column.
Click the Browse icon to the right of the columnName field to select a column name from the columns defined for the cross reference you previously selected.
-
In the value field, you can manually enter a value or press Ctrl-Space to launch the XPath Building Assistant.
-
In the mode field, enter a mode in which you want to populate the cross reference table column. For example, enter
ADD
.You can also click Browse to select a mode. The Select Populate Mode dialog is displayed from which you can select a mode.
-
-
Click OK.
A populated Edit Function – populateXRefRow dialog is shown in Figure 44-9.
Figure 44-9 Populated Edit Function – populateXRefRow Dialog
Description of "Figure 44-9 Populated Edit Function – populateXRefRow Dialog"