
Dear Oxygen users, The Saxon documentation (http://www.saxonica.com/documentation/changes/intro/xinclude89.html) says that starting with Version 8.9 (Java implementation) there is support for xinclude processing for both XSLT and XQuery. Now, since Oxygen 8.2 already bundles Saxon B 8.9.0.3 and it runs on my Mac with Java 1.5, I assume it should be possible to tell Saxon to expand my xincludes for the query. However, I can't quite figure out if Oxygen has an option somewhere or, failing that, how I can pass a commandline argument for Saxon through the transformer. Any help appreciated, Christian -- Christian Wittern Institute for Research in Humanities, Kyoto University 47 Higashiogura-cho, Kitashirakawa, Sakyo-ku, Kyoto 606-8265, JAPAN

Hello Christian, <oXygen/> has XInclude support, implemented using Xerces. You can turn it on or off by modifying the option "Enable XInclude processing " from the Preferences Dialog/XML/XML Parser. This option is on by default. There is no need to pass a parameter to the Saxon processor, since it will just activate the XInclude support from Xerces. (oXygen does this when the option is on) Let us know if it worked for you, Best regards, Dan Christian Wittern wrote:
Dear Oxygen users,
The Saxon documentation (http://www.saxonica.com/documentation/changes/intro/xinclude89.html) says that starting with Version 8.9 (Java implementation) there is support for xinclude processing for both XSLT and XQuery. Now, since Oxygen 8.2 already bundles Saxon B 8.9.0.3 and it runs on my Mac with Java 1.5, I assume it should be possible to tell Saxon to expand my xincludes for the query. However, I can't quite figure out if Oxygen has an option somewhere or, failing that, how I can pass a commandline argument for Saxon through the transformer.
Any help appreciated,
Christian

Hi Dan, Thanks for answering so quickly. Dan Caprioara wrote:
Hello Christian,
<oXygen/> has XInclude support, implemented using Xerces. You can turn it on or off by modifying the option "Enable XInclude processing " from the Preferences Dialog/XML/XML Parser. This option is on by default.
It is also on in my preferences. However, doing a XQuery (using Saxon) on a document reaches only the document itself, not the XINcluded part. Validation on the other hand works perfectly well with XInclude. So there must be another option somewhere? I also noted that one can set some Saxon 8 options for both XQuery and XSLT, but the one governing XINclude (-xi) is not listed
There is no need to pass a parameter to the Saxon processor, since it will just activate the XInclude support from Xerces. (oXygen does this when the option is on)
Let us know if it worked for you,
Sorry, but no, at the moment it is not working for me. Christian -- Christian Wittern Institute for Research in Humanities, Kyoto University 47 Higashiogura-cho, Kitashirakawa, Sakyo-ku, Kyoto 606-8265, JAPAN

Dear Dan, Dan Caprioara wrote:
There is no need to pass a parameter to the Saxon processor, since it will just activate the XInclude support from Xerces. (oXygen does this when the option is on)
Let us know if it worked for you,
Well, I just tried it again and it works like a charm now. The problem might have been at some completely different place. Anyway, thanks for your help and sorry for the noise!
Christian -- Christian Wittern Institute for Research in Humanities, Kyoto University 47 Higashiogura-cho, Kitashirakawa, Sakyo-ku, Kyoto 606-8265, JAPAN
participants (2)
-
Christian Wittern
-
Dan Caprioara