If you want to add a set of declarations that are already in a schema to your own schema, there are a number of ways to do it. The simplest is to cut-and-paste the declarations from the external schema to your schema, but this may lead to differences as the two schemas diverge over time. More typically, you'll want to include the other schema by reference, using XML Authority's tools for adding extra schemas to your schema.
The Overview Pane contains the most convenient tools for including other schemas, though you can use the Parameter Entities Tab of the Advanced Pane to connect schemas manually if working with a DTD. The Overview Window presents a comprehensive list of the components of your schema, but for the current task the most important pieces are the Add Module... at the top right of the pane, and the context-sensitive menus that you can bring up by right-clicking.
Figure A - The Overview Pane, showing declarations and showing only included schemas.
To add an external schema to your schema by reference, click Add Module... A dialog box will appear as shown in Figure B, asking for a URL. If the schema you're including has a canonical form on a network, enter the URL for that here. If you're going to be keeping a copy of the schema on your site, enter a relative URL here. If you're only using local copies stored on your hard drive, you can click the Browse... button to find the file locally.
Figure B - Adding a Schema requires entering a URL and clicking Open or clicking the Browse... button and selecting a local file.
To remove an included schema, just right-click on its name in the Overview Pane and select 'Cut' or 'Clear' from the menu that appears.
Copyright 2000 Extensibility, Inc.
Suite 250, 200 Franklin Street, Chapel Hill, North Carolina 27516