Smaller interrelated modules that define a complex XML modular structure cannot be correctly edited or validated individually, due to their interdependency with other modules. Oxygen XML Author Eclipse plugin provides the support for defining the main module (or modules), allowing you to edit any file from the hierarchy in the context of the main files.
You cat set a main XML document either using the main files support from the Project Explorer view, or using a validation scenario.
To set a main file using a validation scenario, add validation units that point to the main modules. Oxygen XML Author Eclipse plugin warns you if the current module is not part of the dependencies graph computed for the main XML document. In this case, it considers the current module as the main XML document.
For more information about editing modular XML files in the main files context, watch our video demonstration: