W3C home > Mailing lists > Public > xproc-dev@w3.org > November 2010

Re: XProc Calabash: binding the xslt secondary output port

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 25 Nov 2010 07:31:42 -0500
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2lj4h37pt.fsf@nwalsh.com>
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 12:32:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 25 November 2010 12:32:19 GMT