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.