how to prevent expansion of includes

Oxygen general issues.
immanuel
Posts: 2
Joined: Thu Dec 05, 2013 6:44 pm

how to prevent expansion of includes

Post 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
Costin
Posts: 846
Joined: Mon Dec 05, 2011 6:04 pm

Re: how to prevent expansion of includes

Post 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
Costin Sandoi
oXygen XML Editor and Author Support
Post Reply