XInclude Support

XInclude References

XInclude is a standard for building XML documents from smaller pieces and is an alternative to the use of external entities. The use of external entities can pose a problem because they cannot have a DOCTYPE declaration, and therefore are not valid documents on their own.

XInclude is mainly used in documentation frameworks where the documents may be composed of numerous files. XInclude allows you to validate the Main File as well as individual sections.

The advantages of modular documentation include reusable content units, smaller file units to be edited, better version control, and distributed authoring.

XInclude in Oxygen

In the following images, you see an example of a chapter file named chapter1.xml and a book file that uses XInclude to reference the chapter file.

Chapter file chapter1.xml:

XInclude

Main book file:

XInclude

What's New in
Oxygen XML Editor 27.1

March 24, 2025

Oxygen XML Editor version 27.1 expands upon the powerful features introduced in previous releases, including advanced AI actions, and AI-enabled XProc pipelines, integration with DITA-OT 4.3.0 and upgrades to the Git Client add-on.

Learn more

What's New in
Oxygen JSON Editor 27.1

March 24, 2025

Oxygen JSON Editor version 27.1 received a series of AI-based improvements and accelerates JSON document creation by automatically inserting required schema-defined structures when using the Author editing mode.

Learn more