Page 1 of 1

how to prevent expansion of includes

Posted: Thu Dec 05, 2013 6:58 pm
by immanuel
Hi,

I have an XML-document containing xs:include elements and a simple stylesheet containing just the copy template.
When I apply the stylesheet on the XML-document with Saxon on the commandline it returns the identical XML-document. However, when I apply the same stylesheet on that document within qxygen, then it first expands the xi:includes. How can I suppress this expansion in oxygen?
(In fact, I want to apply template on the xi:includes themsleves)

Regards
Immanuel

Re: how to prevent expansion of includes

Posted: Fri Dec 06, 2013 9:13 pm
by Costin
Hello,

In order to suppress XIncludes procession from XML documents you should go into oXygen's menu Options > Preferences > XML > XML Parser and disable the "Enable XInclude Processing" option under the "XInclude Options" section in the configuration page.

After that, just apply the transformation again and oXygen should not expand the XIncludes anymore, determining those to not be presented in the output.

I hope this helps.

Regards,
Costin