Table of Contents

Search

  1. Preface
  2. XML Concepts
  3. Using XML with PowerCenter
  4. Working with XML Sources
  5. Using the XML Editor
  6. Working with XML Targets
  7. XML Source Qualifier Transformation
  8. Midstream XML Transformations
  9. XML Datatype Reference
  10. XPath Query Functions Reference

XML Guide

XML Guide

Synchronizing XML Definitions

Synchronizing XML Definitions

When you work with XML definitions, the files or sources you used to create the XML definition might change. For example, you might add a new element or complex type to an XSD file. You can synchronize an XML definition with any of the following repository definitions or files you used to create the XML definition:
  • Relational source definitions
  • Relational target definitions
  • Flat files
  • URLs
  • XML files
  • DTDs
  • Schema files
When you synchronize an XML definition, the Designer updates the XML schema in the Schema Navigator. but it does not update the views in the XML definition. You can manually update the views columns in the XML Editor after you synchronize the XML definition.
Use schema files to synchronize XML definitions.
To synchronize XML source definitions:
  1. In the Source Analyzer, click Sources > Import XML Definition.
    The XML Wizard opens.
  2. Navigate to the repository definition or file that you used to create the XML definition, and click Open.
  3. In Step 1 of the wizard, click Next. The wizard ignores any change you make to the name.
  4. In Step 2 of the XML Wizard, choose to synchronize the XML definition and click Next.
    The XML Wizard skips to Step 5.
  5. In Step 5 of the XML Wizard, choose the XML definition you want to synchronize.
    The XML Wizard synchronizes the source with the selected definition.
Use this method to synchronize XML target definitions. If you modify an XML source definition, you might also need to synchronize the target definition.
Verify that you synchronize the XML definition with the source that you used to create the definition. If you synchronize an XML definition with a source that you did not use to create the definition, the Designer cannot synchronize the definitions and loses metadata. Click Edit > Revert to Saved to restore the XML definition.

0 COMMENTS

We’d like to hear from you!