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. Appendix A: XML Datatype Reference
  10. Appendix B: XPath Query Functions Reference

XML Guide

XML Guide

Rules and Guidelines for Importing Part of an XML Schema

Rules and Guidelines for Importing Part of an XML Schema

Consider the following rules and guidelines to import a part of the schema:
  • The Designer limits metadata to what is in the XML file. If you change the XML file and import the XML schema again, the XML definition changes.
  • If an element or attribute occurs once in the XML file hierarchy, but occurs in more than one part of the schema hierarchy, the Designer includes all occurrences of the element or attribute in the XML definition.
    For example, a schema might have two address elements, a Store/Address and an Employee/Address. If you import an XML file with the schema, and the XML file has only Store/Address, the Designer creates all Address elements, including the Store/Address and the Employee/Address elements.
  • If the XML file contains a derived complex type, the Designer includes all the base types in the XML definition as separate views. The Designer does not expand the derived type to include the base type in the same view.
  • The Designer does not expand circular references in the XML definition when the XML file has multiple levels of circular references.

0 COMMENTS

We’d like to hear from you!