Adding an include Component to an XML Schema File

See Also

You use an include to add multiple schemas with the same target namespace to your XML schema file.

To add an include 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 > Include.
    -or-
    In the Schema view, select the Referenced Schemas node, right-click and choose Add > Include.
    The Include dialog box opens.
  3. In the Location list, expand the By File or By Namespace nodes to navigate to and select the file you want to reference.
  4. Click OK.
    The IDE adds an include node under the Referenced Schemas node with the information about the referenced schema.
See Also
Include Dialog Box
Referencing External Schemas
XML Schema Tasks
About XML Schema Tools

Legal Notices