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

compound steps and primary inputs

From: James Garriss <james@garriss.org>
Date: Tue, 23 Sep 2008 15:06:26 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <C4FEB672.9B2%james@garriss.org>
Do all compound steps have primary inputs?  I ask because I can't tell by
reading the WD if p:for-each has a primary input or not.  I'm probably
missing a key word somewhere.

When I use it in Calabash 0.6.1, it behaves as if it does:

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
    <p:input port="source">
        <p:document href="BookStore.xml"/>
    <p:output port="result"/>
    <p:filter select="/BookStore/Book[Date>'1970']"/>
        <p:output port="result"/>

The output of filter, a sequence of documents (<Book>...</Book>), is being
inputted (is that a word?) into p:for-each.

Appreciate any insights!

James Garriss
Received on Tuesday, 23 September 2008 19:07:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:03 UTC