Edit online

XML Schema Outline View

The Outline view for XML Schemas presents all the global components grouped by their location, namespace, or type. By default, it is displayed on the left side of the editor.

Figure 1. Outline View for XML Schema
Figure 2. Outline View for XML Schema

The Outline view provides the following options in the Settings menu on the Outline view toolbarView Menu on the Outline view action bar:

Filter returns exact matches
The text filter of the Outline view returns only exact matches;
Selection update on cursor move
Allows a synchronization between Outline view and schema diagram. The selected view from the diagram is also selected in the Outline view.
Sort
Allows you to sort alphabetically the schema components.
Show all components
Displays all components that were collected starting from the main files. Components that are not referable from the current file are marked with an orange underline. To reference them, add an import directive with the componentNS namespace.
Show referable components
Displays all components (collected starting from the main files) that can be referenced from the current file. This option is set by default.
Group by location/namespace/type
These three operations allow you to group the components by location, namespace, or type. When grouping by namespace, the main schema target namespace is the first presented in the Outline view.

The following contextual menu actions are available in the Outline view:

Remove (Delete)
Removes the selected item from the diagram.
Search References (Ctrl + Shift + R (Meta + Shift + R on macOS))
Searches all references of the item found at current cursor position in the defined scope, if any.
Search References in
Searches all references of the item found at current cursor position in the specified scope.
Component Dependencies (Ctrl + Shift + F4 (Meta + Shift + F4 on macOS))
Opens the Component Dependencies view that allows you to see the dependencies for the currently selected component.
Show referenced resources (F4)
Opens the Referenced/Dependent Resources view that allows you to see the references for the currently selected resource.
Show dependent resources (Shift + F4)
Opens the Referenced/Dependent Resources view that allows you to see the dependencies for the currently selected resource.
Rename Component in
Renames the selected component.
Generate Sample XML Files
Generate XML files using the currently open schema. The selected component is the XML document root.

Tip:
The search filter is case insensitive. The following wildcards are accepted:
  • * - any string
  • ? - any character
  • , - patterns separator
If no wildcards are specified, the string to search will be searched as a partial match.