W3C home > Mailing lists > Public > xproc-dev@w3.org > September 2016

Re: p:xquery with multiple input documents

From: Conal Tuohy <conal.tuohy@gmail.com>
Date: Mon, 5 Sep 2016 22:15:03 +1000
Message-ID: <CAErBQuSG3dtDVRnLBSZPnjhpFJ3Lyj5rqVtBLz4s6rCksNtmyA@mail.gmail.com>
To: Sebastian Fey <fey@ambihome.com>
Cc: XProc Dev <xproc-dev@w3.org>
Hi Sebastian!

You can have a sequence of input documents, NB the "sequence='true'" in the

 <p:input port="source" sequence="true" primary="true"/>


<p:input port="source">
   <p:pipe step="first-document" port="result"/>
   <p:pipe step="second-document" port="result"/>
   <!-- etc -->

Only one set of parameters, though, yes.


On 3 September 2016 at 19:21, Sebastian Fey <fey@ambihome.com> wrote:

> According to https://www.w3.org/TR/xproc/#c.xquery p:xquery gets only one
> input document and parameters (which can only be atomic, right?)
> If my query has multiple input documents (from previous steps), do I
> really have to store them first and load them inside the query?

Conal Tuohy
Received on Monday, 5 September 2016 12:22:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:17:29 UTC