The Resource Hierarchy / Dependencies view allows you to easily see
the hierarchy / dependencies for an XML Schema, a Relax NG schema or an
XSLT
stylesheet. You can open the view from
.
This view is useful for example when you want to start from an XML Schema (XSD) file and
build and review the hierarchy of all the other XSD files that are imported, included or
redefined in the given XSD file. Also the same view is able to build the inversed-tree
structure, that is the structure of all other XSD files that import, include or redefine the
given XSD file. The scope of the search is configurable: the current Oxygen project, a set of
local folders, etc.
The build process for the hierarchy view is started with the Resource
Hierarchy action available on the contextual menu of the editor panel.
Resource Hierarchy/Dependencies View - Hierarchy for
mainOffice.xsd
The build process for the dependencies view is started with the Resource
Dependencies action available on the contextual menu.
Resource Hierarchy/Dependencies View - Dependencies for
dml-baseTypes.xsd
In the Resource Hierarchy/Dependencies view you have several actions
in the toolbar:
- Refreshes the Hierarchy/Dependencies
structure.
- Stop the hierarchy/dependencies computing.
- Allows you to choose a schema to compute the
hierarchy structure.
- Allows you to choose a schema to compute
the dependencies structure.
- Allows you to configure a scope to
compute the dependencies structure. There is also an option for automatically using the
defined scope for future operations.
- Repeats a previous dependencies computation.
The contextual menu contains the following actions:
- Open - Opens the schema. Also you can open the schema by a
double-click on the Hierarchy/Dependencies structure.
- Copy location - Copies the location of the schema.
- Show Resource Hierarchy - Shows the hierarchy for the selected
schema.
- Show Resource Dependencies - Shows the dependencies for the
selected schema.
- Expand All - Expands all the children of the selected schema from
the Hierarchy/Dependencies structure.
- Collapse All - Collapses all children of the selected schema from
the Hierarchy/Dependencies structure.
Tip: When a recursive reference is encountered in the Hierarchy view, the reference
is marked with a special icon

.