[xproc-dev] <none>


I'm fairly new to XProc, and I am attempting to run a XProc where I run
multiple stylesheet passes. As seen below:

> <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:c="
> http://www.w3.org/ns/xproc-step" version="1.0"> <p:input port="source"/> <
> p:input port="parameters" kind="parameter"/> <p:output port="result"/> <
> p:xslt name="firstPass"> <p:input port="stylesheet"> <p:document href=
> "FirstPass.xsl"/> </p:input> </p:xslt> <p:xslt> <p:input port="stylesheet"
> > <p:document href="SecondPass.xsl"/> </p:input> </p:xslt> <p:xslt> <
> p:input port="stylesheet"> <p:document href="ThirdPass.xsl"/> </p:input>
> </p:xslt> </p:declare-step>

I'm running this through an Oxygen XML Editor Scenario that using the
Calabash engine. I'm attempting to use an environmental variable in Oxygen
for the source input. I want the user to specify the XML document saved on
a file disk, and load that as the source:
[image: image.png]

However, I receive the following error below:

> err:XD0011 : XProc error err:XD0011 It is a dynamic error if the resource
> referenced by a p:document element does not exist, cannot be accessed, or
> is not a well-formed XML document. C:\Users\Ali\ExceltoXML\${ask('message',
> url)} (The system cannot find the file specified)

I posted this specific question on the Oxygen forum site. I was informed
that I can't use the ask variable in the input source but I could use it in
the parameters.

How do I pass the source as a dynamic variable or the source as a


Received on Tuesday, 19 May 2020 16:59:40 UTC