You can find relationships between elements and attributes in the source XML schema document and columns in DB2 relational target tables. After the relationships are discovered, you can select the specific relationships for which you want to define map links.
Requirement: An instance of the IBM XML Schema Mapping Designer must be open, with an XML schema displayed in the Source XML schema pane.
To find relationships:
The Find Same Name window opens.
If you clear the check box of a node, the check boxes of all of its children are automatically cleared. You can then select the check boxes of one or more of the individual children.
To locate a specific node, element, or attribute, perform the following steps:
If the name that you typed is found, focus in the Source pane shifts to the node, element, or attribute with that name. To find additional occurrences of the name, click Search Again in the Find Text window.
If you clear the check box of a schema or a table, the check boxes of all of its children are automatically cleared. You can then select the check boxes of one or more of the individual children.
To locate a specific schema, table, or column, perform the following steps:
If the name that you typed is found, focus in the Target pane shifts to the schema, table, or column with that name. To find additional occurrences of the name, click Search Again in the Find Text window.
The columns in the relational tables that have the same name as an element or an attribute in the source XML schema are shown in the Discovery result list.
Use Ctrl or Shift to select multiple matches.
Use Ctrl or Shift to select multiple matches.
Tip: You might reject individual matches before creating map links for all of the remaining matches.
Annotating XML Schemas | IBM XML Schema Mapping Designer