Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

Steps to load Source and Target Schemas

  1. Click the Click Load Schema (  ) button on the Tool Bar (see Figure 379)

    Image Removed
    Figure 379: Load Schema button

    Or click the File menu and select the Load Schema option (see Figure 380).

    Image Removed
    Figure 380: File Menu in Data Mapper

    This action or click Load Schema from the File menu. This will show you the Select Schema screen which displays a list of existing schemas (see Figure 381).
              


    Figure 381: Select Schema

     


    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

    .

  2. 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 casecases, you can search for schemas to be loaded, based on the schema name or type. Enter Provide 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 not load multiple web service schemas along with other schemas.
    • If you have not created any a particular schema type the then no schema will be displayed on clicking the respective schema type button.
  3. 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 to the Data Mapper window.

     
  4. Click the Close button to close the Select Schema window.Click the Expand  (plus) button to  to expand and display all elements of the schemas in their respective panels (see Figure 382).


Figure 382: Source and Target Schema Elements

...


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.

      Table 7: Legends of Elements

Legend

Description

Leaf Element

Attribute Element

 

If you do not load any schema , then all the tabs of the Data Mapper appear appears as disabled.

Anchor
XSLT
XSLT
Configuring XSLT Transformer

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  You can change the parser of any existing Data Mapping activity by the following the steps below:

  1. Click on the Action menu of the Data Mapping activity of your choice and then select the Edit menu option (see Figure 383).

    Image Removed
    Figure 383: Editing A Data Mapping Activity

    Edit from the Action menu.

    Image Added

  2. On the Edit Data Mapping screen, click on the Data Mapper button to  to edit the mapping activity (see Figure 384).


    Figure 384: Edit Data Mapping Activity Screen

  3. In the Data Mapper, click on the Actions menu and then select the Actions > XSL Transformer menu option.
  4. In the XSL Transformer dialog box, select the Saxon radio button and click Ok Saxon.
  5. Click OK.
  6. Click on Save button to  to save the mapping of the Data Mapper.
  7. 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).


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:

  1. In the Data Mapper, click on the Actions menu and then select the  Actions > XSL Transformer menu option.
  2. In the XSL Transformer dialog box, select the Xalan radio button and click the OK button.Click on the Save button to select Xalan.
  3. Click OK.
  4. Click Save to save the mapping activity.

 

If you want to use the Saxon Transformer then follow these steps:

  1. In the XSL Transformer dialog box, select the Saxon radio button and click the OK button.
  2. Click on Save button to save the mapping activity.
  1. 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.

Steps to search an element in a source or target schema hierarchy

  1. Ensure that the source and target schemas are loaded and all their elements are listed under their respective nodes.
  2. Click the Actions menu and select Click Actions > Search Element option (see Figure 386).

    Alternately you can press <Ctrl> + <F> on the keyboard.

    Figure 386: Select Search Element from Actions menu 

    The Element Search Dialog window is displayed (see Figure 387)appears.

    Figure 387: Element Search Dialog Box

    Enter

     

  3. 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.
  4. 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 (see Figure 388).

    Figure 388: Enter Parameters in Element Search Dialog Box

     

     

    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.

  5. 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 (see Figure 389) text box.

    Figure 389: Element Match Found 

  6. If multiple matches are found for the search criteria , then the Direction Panel and panel and the Find Next button is activated (see Figure 390). 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.

    Figure 390: Multiple Matches Found 

  7. 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 (see Figure 391).

    Figure 391: Adeptia Mapper Warning 

  8. Click Yes to search again , else click No to close this screen.

...