Resource Hierarchy/Dependencies View

The Resource Hierarchy/Dependencies view allows you to easily see the hierarchy/dependencies for a schema. You can open the view from PerspectiveShow ViewResource Hierarchy/Dependencies .

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 inverse 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 view can build similar tree structures for a RELAX NG schema, a NVDL schema or an XSLT stylesheet.

The build process for the hierarchy view is started with the action Resource Hierarchy available on the contextual menu.

 

Figure 4.63. Resource Hierarchy/Dependencies view - hierarchy for mainOffice.xsd

Resource Hierarchy/Dependencies view - hierarchy for mainOffice.xsd

The build process for the dependencies view is started with the action Resource Dependencies available on the contextual menu.

 

Figure 4.64. Resource Hierarchy/Dependencies view - dependencies for dml-baseTypes.xsd

Resource Hierarchy/Dependencies view - dependencies for dml-baseTypes.xsd

In the Resource Hierarchy/Dependencies view you have several actions in the toolbar:

Refresh the hierarchy/dependencies structure.

Allows you to 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.

Allows you to repeat a previous dependencies computation.

On the contextual menu you have also some actions like:

[Tip]Tip

When a recursive reference is encountered in the Hierarchy view, the reference is marked with a special icon