John L. Clark wrote: > On Mon, Mar 27, 2006 at 10:18:39AM +0200, Hussein Shafie wrote: >>Remember that XXE does not suppport XIncludes per se. For XXE, XIncludes >>are just a tool used transparently for the user to create modular documents. >> >>Here's what could be implemented (if other users are interested): >>[1] Turn on option (to be implemented) "Do not transclude <xi:include> >>elements". >>[2] Use a schema where <xi:include> elements have been declared as first >>class elements (e.g. docbookxi.rng). >>[3] The configuration associated to such schema should declare >>"//xi:include/@href" as a resource of the document being edited. > > I would be interested in having such a feature. Would it be possible to > have the option (1) be a bit more sophisticated, so that we could have > options to turn on transclusion only when parse="xml" or there is no > `xpointer` attribute (or both)? I would think it would be pretty easy > to check at read time in order to treat the configured "inactive" > XIncludes as regular elements in the document.
OK, specifying this feature needs a little more thinking.

