XSL FO disable Xinclude processing

Here should go questions about transforming XML with XSLT and FOP.
bernardusgui
Posts: 5

XSL FO disable Xinclude processing

Tue Nov 13, 2018 5:45 pm

In Oxygen I am processing XML files with XSL FO using XEP as processor. It is currently spitting out everything from all XInclude documents in my source XML file. I'd like to prevent this if possible through an instruction in the XSL document, but I'd accept turning it off in Oxygen as a second resort. But I can't find either solution.

Many thanks in advance.
Radu
Posts: 6050

Re: XSL FO disable Xinclude processing

Tue Nov 13, 2018 7:57 pm

Hi,

In the Oxygen Preferences->"XML / XML Parser" page there is an "Enable XInclude Processing" checkbox. Does unchecking that help with your usecase?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
bernardusgui
Posts: 5

Re: XSL FO disable Xinclude processing

Tue Nov 13, 2018 8:05 pm

It does, thanks. But I'd like not to have to switch it on/off each time depending on context. I'd rather configure it in the XSLT file as needed...
Radu
Posts: 6050

Re: XSL FO disable Xinclude processing

Tue Nov 13, 2018 8:11 pm

Hi,

Sorry but as your use case is very rare there is no such option to control this by specifying this setting in the XSLT.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 2 guests