Exporting an XML schema or mapping definition file

You can export XSD files and XTRANS files created in Management Console.

About this task

Exporting XSD files
You can export the schema. This may be necessary when another department or organization requires the schema.
Exporting XTRANS files
You can export the mapping definition of your XML document with values to your local computer. You can later reuse the mapping definition for other XML documents by importing it back into Management Console. It is important to note that any preexisting mappings between source columns to XML elements and attributes in Management Console are replaced with the imported mapping definition.

Procedure

  1. Click Configuration > Datastores.

    Ensure that you are connected to a CDC Replication Engine for Event Server datastore.

  2. Click Configuration > Subscriptions.

    Ensure that you have created a subscription that uses the CDC Replication Engine for Event Server datastore as the target.

  3. Select the subscription that contains the table mapping to a message destination.
  4. Click the Table Mappings view and select the table mapping from the Source Table column.
  5. Right-click and select Open Details....
  6. Click the XML Message tab.

    Ensure that you have created the structure of an XML message that you can export.

  7. Click Icon for XML schema. and from the Save as Type list, select one of the following:
    Schema file (XSD)
    Exports only the structure of the XML document. This includes the name of the element, attribute, and the tree structure. Any preexisting mapping definitions are not exported.
    Mapping definition (XTRANS)
    Exports the structure of the XML document and the mapping definition you created in Management Console.
  8. Click Save.