Table of Contents

Search

  1. Preface
  2. Understanding the Repository
  3. Using the Repository Manager
  4. Folders
  5. Managing Object Permissions
  6. Local and Global Shortcuts
  7. Team-Based Development with Versioned Objects
  8. Labels
  9. Object Queries
  10. Team-Based Development with Deployment Groups
  11. Copying Folders and Deployment Groups
  12. Exporting and Importing Objects
  13. Exchanging Metadata
  14. Copying Objects
  15. Metadata Extensions
  16. Appendix A: MX Views Reference

Repository Guide

Repository Guide

The XML and DTD Files

The XML and DTD Files

When you export repository objects, the PowerCenter Client creates an XML file that contains the metadata of the exported repository objects. Use this same file to import the repository objects into a repository.
The XML file has an associated Document Type Definition (DTD) file called powrmart.dtd. When you export repository objects, the PowerCenter Client creates the XML file based on the structure specified in powrmart.dtd. When you import repository objects, the PowerCenter Client validates the XML file against powrmart.dtd.
When you install PowerCenter, the installation program copies powrmart.dtd into the client installation directory. When you export or import an object, the PowerCenter Client looks for powrmart.dtd in the client installation directory. If powrmart.dtd is not in the client installation directory, you cannot import repository objects.
An XML file is valid if it complies with the constraints expressed in its associated DTD. Therefore, an exported XML file is valid if it complies with the constraints expressed in powrmart.dtd. For example, if powrmart.dtd states that an element must occur once in an XML file, the XML file is invalid if the element occurs more than once or not at all.
For more information about XML, see the W3C specifications for XML at the following location:http://www.w3.org/.
If you modify an exported XML file, you need to make sure that the XML file conforms to the structure of powrmart.dtd. You also need to make sure the metadata in the XML file conforms to Designer and Workflow Manager rules. For example, when you define a shortcut to an object, define the folder in which the referenced object resides as a shared folder. Although PowerCenter validates the XML file before importing repository objects from it, it might not catch all invalid changes. If you import into the repository an object that does not conform to Designer or Workflow Manager rules, you might cause data inconsistencies in the repository.
Do not modify the powrmart.dtd file.

0 COMMENTS

We’d like to hear from you!