I have created an xproc transformation scenario in oXygen. In the Inputs, I defined a source port, and this port takes an XML doc which has a bunch of other fragments included with xi:include. The scenario also defines the final output on the result port.
The scenario works as expected with a number of xslt steps. But the first step — which is an <p:xinclude> doesn't seem to do what it should.
The xproc file with only the first step looks like this:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?> <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:c="http://www.w3.org/ns/xproc-step" version="1.0"> <p:serialization port="result" method="xml" indent="true" omit-xml-declaration="false"/> <p:input port="source" sequence="true"/> <p:input port="parameters" kind="parameter"/> <p:output port="result" sequence="true"/> <p:xinclude fixup-xml-base="false" name="expand"/> </p:declare-step>
I have two questions here:
1. Why is this not working as I think it should?
2. Shouldn't the oXygen general setting for the Base Uri fix-up take precedence here anyway? (I have it disabled, but it doesn't seem to have any effect on xproc pipelines.)
Many thanks in advance!