XML Referenced/Dependent Resources View
The Referenced/Dependent Resources view displays the hierarchy or dependencies for resources included in an XML document. The tree structure presented in this view is built based on the Xinclude and External Entity mechanisms. If the view is not displayed, it can be opened by selecting it from the menu.
If you want to see the hierarchy or dependencies of an XML document, select the document in the Project view and choose Show referenced resources or Show dependent resources from the contextual menu.
The following actions are available on the
toolbar of the Referenced/Dependent Resources view:
- Refresh
- Refreshes the resource structure.
- Stop
- Stops the computing.
- Show hierarchy for
- Computes the hierarchical structure of the references for a resource.
- Show dependencies for
- Computes the structure of the dependencies for a resource.
- Configure dependencies search scope
- Allows you to configure a scope to compute the dependencies. There is also an option for automatically using the defined scope for future operations.
- History
- Provides access to the list of previously computed dependencies. Use the Clear history button to remove all items from this list.
The contextual menu for a resource listed in the
Referenced/Dependent Resources view contains the following
actions:
- Open
- Opens the resource. You can also double-click a resource within the hierarchical structure to open it.
- Go to reference
- Opens the source document where the resource is referenced.
- Copy location
- Copies the location of the resource.
- Move resource
- Moves the selected resource.
- Rename resource
- Renames the selected resource.
- Show references resources
- Shows the references for the selected resource.
- Show dependent resources
- Shows the dependencies for the selected resource.
- Add to Main Files
- Adds the currently selected resource in the Main Files directory.
- Expand More
- Expands more of the children of the selected resource from the hierarchical structure.
- Collapse All
- Collapses all children of the selected resource from the hierarchical structure.
Tip: When a recursive reference is encountered in the view, the
reference is marked with a special icon .
Note: The Move resource or Rename resource
actions give you the option to update the references to the resource. Only the references made through the
XInclude and External Entity mechanisms are handled.