History | Edit

Over the course of time large projects can accumulate a vast amount of resources from a variety of sources. Especially in organizations with a large number of content authors or complex project structures, organizing the project resources can become a challenge. Over time a variety of actions can cause resources to become orphaned from DITA maps. To assist you with organizing project resources, Oxygen XML Editor includes an action, Find Unreferenced Resources, that searches for orphaned resources that are not referenced in DITA maps.

To perform this search, open the DITA map in the DITA Maps Manager, invoke the contextual menu on the DITA map, and select Find Unreferenced Resources. This action can also be selected from the DITA Maps menu. This action opens the Find Unreferenced Resources dialog box.

Figure: Find Unreferenced Resources Dialog Box

The Find Unreferenced Resources dialog box includes the following options:

  • DITA Maps - Provides a list of DITA maps to be included in the search and allows you to Add maps to the list or Remove them.
  • Folders - Provides a list of folders to be included in the search and allows you to Add or Remove specific folders.
  • Filters - Provides three combo boxes that allow you to filter the search to include or exclude certain files or folders:
    • Include files - Allows you to filter specific files to include in the search.
    • Exclude files - Allows you to filter specific files to exclude from the search.
    • Exclude folders - Allows you filter specific folders to exclude from the search.
      Note: In any of the filter combo boxes you can enter multiple filters by separating them with a comma and you can use the ? and * wildcards. Use the drop-down arrow to select a previously used filter pattern.

When you click the Find button, if the search operation finds unreferenced resources, they are displayed in the Results panel at the bottom of the editor. If you want to delete an unreferenced resource, you can right-click its result and select Remove from Disk.