Running the Native XML Schema Customization wizard task flow

Follow this task flow to run the Native XML Schema Customization wizard from the input or output card of your map.

Before you begin

Before you can run the wizard, make sure that a native XML schema (.xsd) file is specified for the TypeTree property and that the NativeXMLSchemaCustomization properties were added.

About this task

Use the Native XML Schema Customization wizard to change the default values for the NativeXMLSchema based on your mapping requirements. When you start the Native XML Schema Customization wizard, it takes you step-by-step through the process that updates the NativeXMLSchemaCustomization properties in the card.

Procedure

To run the Native XML Schema Customization wizard:

  1. Click the button next to NativeXMLSchemaCustomization under the Value column. The Native XML Schema Customization wizard opens. Follow the wizard prompts that guide you through the different windows.
  2. Select the global elements that you want to be generated in the card. The card is generated with these specified global elements. Click Next to continue. You can click Finish to save the settings and return to the card that displays in the Map editor. You must select at least one global element to continue to the next window in the wizard.
  3. Select the global types for which you want to enable the use of derived types on base types by using the xsi:type attribute. Click Next to continue. You can click Finish to save the settings and return to the card that displays in the Map editor. You do not have to make a selection in this window to continue to the next window in the wizard.
  4. Select Support complex types with mixed content if the map must process data that contains complex types with mixed content. You do not have to make a selection in this window to continue.
  5. Click Finish to save the settings. The Edit Card window redisplays in the Map editor.

Results

The Identifier, GlobalElements, XSITypes, MixedContent properties that are listed in the card under NativeXMLSchemaCustomization contain updated values, depending on your selections.

Example

If you updated all of the NativeXMLSchemaCustomization properties, you would see the following settings:
  • Identifier: a unique numeric identifier for the native XML schema
  • GlobalElements: a numeric designation and global_element_name {namespace} value for each of the global elements you selected that you want to be generated in the card
  • XSITypes: a numeric designation and global_type_name {namespace} value for each of the global types for which you want to enable the use of derived types on base types by using the xsi:type attribute
  • MixedContent: value that is set to True