Prevent xi:include expansion in single file

Oxygen general issues.
wiflow2
Posts: 1
Joined: Mon Aug 22, 2022 8:44 pm

Prevent xi:include expansion in single file

Post by wiflow2 »

Hi,

Is there a processing instruction or an SDK/plug-in method that would prevent the expansion of xi:includes in only one file?
For example, our DTD structure starts with a top-level element, then includes chapters, then topics, etc.

The first file in the hierarchy is essentially just the TOC of includes for the chapter files:

Code: Select all

<xml>
   <xi:include href="someChapter.xml"/>
   <xi:include href="someChapter2.xml"/>
</xml>
I'd like to disable expansion for only this file, since (a) typically this file is long and takes a while to expand (b) I edit the content in files that are lower in the hierarchy.