Edit online

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 provides the support for defining the main module (or modules), allowing you to edit any file from the hierarchy in the context of the master files.

You cat set a main XML document either using the master files support from the Project view, or using a validation scenario.

To set a master file using a validation scenario, add validation units that point to the main modules. Oxygen XML Author 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.

The advantages of working with modular XML files in the context of a master file include:
  • Correct validation of a module in the context of a larger XML structure.
  • Content Completion Assistant displays all collected entities and IDs starting from the master files.
  • Oxygen XML Author uses the schema defined in the master file when you edit a module that is included in the hierarchy through the External Entity mechanism.
  • The master files defined for the current module determines the scope of the search and refactoring actions for ID/IDREFS values and for updating references when renaming/moving a resource. Oxygen XML Author performs the search and refactoring actions in the context that the master files determine, improving the speed of execution.

For more information about editing modular XML files in the master files context, watch our video demonstration: