Adding a redefine Component to an XML Schema File

See Also

You use a redefine to redefine simple and complex types, groups, and attribute groups from an external schema.

To add a redefine component:

  1. In the IDE, open the schema file where you want to reference an external schema.
  2. In the Schema view, select the root node, right-click and choose Add > Redefine.
    -or-
    In the Schema view, select the Referenced Schemas node, right-click and choose Add > Redefine.
    The Add Redefine dialog box opens.
  3. In the File column, expand the By File or By Namespace nodes to navigate to and select the files you want to reference.
    For each file you select, the Redefine checkbox next to your selection is selected and the Namespace field at the bottom of the dialog box is filled in by the IDE, unless you selected a schema file with no target namespace.
  4. (Optional) To change the prefix used to identify a selected schema, enter a new value in the Prefix column.
  5. Click OK.
    The IDE adds a redefine node under the Referenced Schemas node for each referenced schema.
See Also
Add Redefine Dialog Box
Referencing External Schemas
About Cross-Project XML File References
About XML Schema Tools

Legal Notices