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
- Click
.
Ensure that you are connected to a CDC Replication Engine for Event Server datastore.
- Click
.
Ensure that you have created a subscription that uses the CDC Replication Engine for Event Server datastore as the target.
- Select the subscription that contains the table mapping
to a message destination.
- Click the Table Mappings view and select
the table mapping from the Source Table column.
- Right-click and select Open
Details....
- Click the XML Message tab.
Ensure that you have created the structure of an XML message
that you can export.
- Click
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.
- Click Save.