12. include

<include
  location = anyURI
/>

Include all elements contained in specified configuration file in current configuration file.

The URI found in the location attribute may be resolved using XML catalogs.

Example 1:

<include location="toolBar.incl" />

If the file containing the above snippet is /home/john/.xxe/addon/mydocbook.xxe, the included file is then /home/john/.xxe/addon/toolBar.incl.

Example 2:

<include location="xxe-config:docbook/toolBar.incl"/>

If XXE has been installed in /opt/xxe/, the included file is /opt/xxe/addon/config/docbook/toolBar.incl because the XML catalog bundled with XXE contains the following rule:

<rewriteURI uriStartString="xxe-config:" rewritePrefix="." />