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 Explorer
view and choose Show referenced resources or Show
dependent resources from the contextual menu.
Figure 1. Referenced/Dependent Resources View
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.