Detecting Master Files

Oxygen XML Editor allows you to detect the master files using the Detect Master Files option available in the contextual menu of the project. This action applies to the folders you select in the project. To detect master files over the entire project, do one of the following: Both of these options display the Detect Master Files wizard. In the first panel you can select the type of master files you want Oxygen XML Editor to detect. In the subsequent panel the detected master files are presented in a tree-like fashion.The resources are grouped into three categories:

To set them as master files, enable their check-boxes. Oxygen XML Editor marks all the children of a master file as modules. Modules are rendered in gray and their tool-tip presents a list of their master files. A module can be accessed from more than one master file.

The master files that are already defined in the project are automatically marked in the tree and cannot be removed. The only way to disable a master file is to delete it from the Master Files folder.

The next panel displays a list with the selected master files. Click the Finish button to add the master files in the Master Files folder.

You can use the Select Master Files option to automatically mark all master files. This action sets all the resources from the Possible Master Files category and the first resource of each Cycle as master files .
Tip: We recommend you to only add top-level files (files that are at the root of the include/import graph) in the Master Files directory. Keep the file set to a minimum and only add files that import or include other files.
Attention: If the Master Files Support is disabled, the Master Files directory is rendered only if it contains master files.