In one of my pipelines, I want to override a parameter called "parent"
with a computed value, but can't seem to get it to work. I can override
as follows:
<eb:rng-ebk>
<p:input port="parameters" kind="parameter">
<p:inline>
<c:param value="parent"
value="book"/>
</p:inline>
</p:input>
</eb:rng-ebk>
but then I can't set "value" using an Xpath expression. This, on the
other hand simply doesn't work:
<eb:rng-ebk>
<p:input port="parameters" kind="parameter"/>
<p:with-param name="parent"
select="'book'"/>
</eb:rng-ebk>
According to the following example in the xproc spec, the above should
work, I believe:
http://www.w3.org/TR/xproc/#ex.parameter
Am I misunderstanding something? I think I may be. I also think that in
the text following the above example, the words "before" and "after"
may have got swapped: the text doesn't seem to match the example.
I am using calabash 0.9.10. eb:rng-ebk is a compound step that runs a
chain of transformations, one of which takes "parent" as a parameter.
Regards,
Kevin Flynn