Steps to load Source and Target Schemas
- Click the Click Load Schema ( ) button on the Tool Bar.
Or click the File menu and select the Load Schema option.
This action will show you the Select Schema screen which displays a list of existing schemas.
Info If you create a new schema , then it will not be displayed in this list. To refresh the list of schemas, click the Synchronize button.
- Select the schema that you want to load. This action will enable the Load button.
The Select Schema window supports the following functionality:- At times, the list of schemas is very long. In such a case, you can search for schemas to be loaded, based on the schema name or type. Enter the name of the schema to be searched in the Quick Search text box and as you type letters, the search field will dynamically search for the values defined in all the schema types and update the table accordingly.
- To refine the search, you can select the schema type from the Schema Type column. The table will display you only the schema types that you would select. For example, if you select the Excel schema type button then, you will only see the Excel Schemas and the table will be updated accordingly. By default, you will be able to see all the schema types in alphabetical order.
- To load a schema, search the schema type and select the checkbox(s) corresponding to the schema type. You can select both the source and target schemas for the schema type. In addition, you can select a different source and target schema type. This way, you can load multiple schemas at the same time. You can also select all the checkboxes check boxes to load all the schemas. There is no limit to the number of schemas that you can load at the same time.
- You can simultaneously load multiple web service schemas along with other schemas.
- If you have not created any a particular schema type the no schema will be displayed on clicking the respective schema type button.
Click the Click Load button after after you have selected the schema(s) to open. The schema(s) that you will select , will be loaded into the Data Mapper window.
Info - Click the Close button to close the Select Schema window.Click the Expand button to to expand and display all elements of the schemas in their respective panels (see Figure 382).
Info |
---|
The Data Mapper now gives you the choice to select an XSLT transformer for your data mapping activity. It now supports a new transformer Saxon along with the old transformer Xalan. For more details on the new transformer, please refer to the Configuring XSLT Transformer section. The Data Mapper tool allows you to remove a loaded schema. For details, please refer to the Removing Schema section. |
...
You can identify the elements in the Source and Target Panels panels by the legends displayed before the name of the element. These legends are explained in the table below.
...
Legend | Description |
---|---|
Leaf Element | |
Attribute Element |
If you do not load any schema , then all the tabs of the Data Mapper appear as disabled.
Anchor | ||||
---|---|---|---|---|
|
The Adeptia Suite provides two XSLT processors for transforming data mapping activity.
...
Saxon transformer is much faster than Xalan. By default, the Data Mapper selects the Saxon transformer to transform all of your new mapping activity.
You can change the parser of any existing Data Mapping activity by following the steps below:
Click on the Action menu of the Data Mapping activity of your choice and then select the Edit menu option Edit from the Action menu.
Editing A Data Mapping ActivityOn the Edit Data Mapping screen, click on the Data Mapper button to to edit the mapping activity.
Edit Data Mapping Activity Screen- In the Data Mapper, click on the Actions menu and then select the Actions > XSL Transformer menu option.
- In the XSL Transformer dialog box, select the Saxon radio button and click Saxon.
- Click Ok.
- Click on Save button to to save the mapping of the Data Mapper.
- On the Edit Data Mapping screen, click on the Save button to to edit the mapping activity. This action will display you a confirmation message (see Figure 385).
Confirmation Message
Changing Xalan to Saxon
If you wish to revert to the old transformer (Xalan Transformer) then , you can achieve
that by do the following steps:
- In the Data Mapper, click on the Actions menu and then select the Actions > XSL Transformer menu option.
- In the XSL Transformer dialog box, select the Xalan radio button and click the OK button.Click on the Save button to select Xalan.
- Click Ok.
Click Save to save the mapping activity.
Info If you want to use the Saxon Transformer then follow these steps:
- In the XSL Transformer dialog box, select the Saxon radio button and click the OK button. Click on Save button to save the mapping activity
Repeat the steps to change Xalan to Saxon.
Search Element in Source or Target Schema Tree
At times, when the source or target schemas are quite large , then searching an element can be very cumbersome. The Data Mapper applet eases this task by allowing you to search for an element in a source or target schema.
...
- Ensure that the source and target schemas are loaded and all their elements are listed under their respective nodes.
Click the Actions menu and select Click Actions > Search Element option.
Alternately you can press <Ctrl> + <F> on the keyboard.
Select Search Element from Actions menu
The Element Search Dialog window is displayedappears.
Figure 387: Element Search Dialog Box
Enter- Provide the name of the element that you want to search for , in the Search Value field text box. You can also use Wild Card character(s) to search for an element. The Xpath of the element is automatically displayed in the Element Path fieldthe Element Path text box.
Select the appropriate option in the Scope Panel panel, to search the element in the Source or Target schema hierarchy. For example, if you want to search in the Source schema hierarchy, then select Source Tree option. Only one option can be selected at a time. By default, Target Tree is selected.
Info As per the enhanced functionality of the search element, you can now also search the element on the basis of comments, Data Type, Current Mapping (Rules), Documentation and Extension Node Element in the tree node of the Data Mapper.
Click Find. This searches for the first occurrence of the element in the selected hierarchy. If the element match is found , then that element is selected and highlighted. The Xpath of that node is displayed in the Element Path field text box.
Figure 389: Element Match Found
If multiple matches are found for the search criteria , then the Direction Panel and panel and the Find Next button is activated. You can select the direction in which you want to search in the selected hierarchy. For example, if you want to search upwards in the hierarchy, select Up option. Only one option can be selected at a time. By default, Down is selected.
Multiple Matches Found
Click Find Next to search for the next element in the hierarchy, based on the selected direction. Once the element match is found, click Close to close the Search Element dialog box.
In case no element match is found , then a warning message is displayed.
Adeptia Mapper Warning
- Click Yes to search again , else click No to close this screen.
...