Re: XProc Calabash: binding the xslt secondary output port

Thanks for your help! Yes, that was the only problem, its all working now!

Regards,
Manfred

On 25/11/2010, Norman Walsh <ndw@nwalsh.com> wrote:
> Manfred Staudinger <manfred.staudinger@gmail.com> writes:
>>    <p:identity>
>>       <p:input port="source">
>>          <p:pipe step="section_3" port="result"/>
>>          <p:pipe step="tr5-inst-nav" port="secondary"/><!-- ??? -->
>>       </p:input>
>>    </p:identity>
>>    <p:xslt name="tr6-xforms-nav">
>>       <p:with-param name="rel-path" select="$rel-path"/>
>
> Because you didn't specify an explicit binding for the context for this
> with-param, XProc uses the default readable port. In this case, the DRP
> is a sequence of more than one document, so that's an error.
>
> Try:
>
>     <p:with-param name="rel-path" select="$rel-path">
>       <p:empty/>
>     </p:with-param>
>
>                                         Be seeing you,
>                                           norm
>
> --
> Norman Walsh
> Lead Engineer
> MarkLogic Corporation
> www.marklogic.com
>

Received on Thursday, 25 November 2010 20:06:02 UTC