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

Do pipelines have ports?

From: James Garriss <james@garriss.org>
Date: Thu, 18 Sep 2008 16:51:49 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <C4F837A5.858%james@garriss.org>
I know steps have ports, such as this:

<p:xslt>
  <p:input port="source">
    <p:pipe step="main" port="source"/>
  </p:input>
  <p:input port="stylesheet">
    <p:document href="http://example.com/stylesheets/doc.xsl"/>
  </p:input>
  ...
</p:xslt>

The WD says this explicitly:  łA p:input identifies an input port for a
step.˛

Is it correct to say that pipelines have ports as well, given an example
such as this?

<p:declare-step xmlns:p="http://www.w3.org/ns/xproc">
    <p:input port="source">
        <p:document href="BookStore.xml"/>
    </p:input>
    <p:output port="result"/>
    <p:identity/>
</p:declare-step>

If not, what do you call them?

TIA,

James Garriss
http://garriss.blogspot.com
Received on Thursday, 18 September 2008 20:52:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 18 September 2008 20:52:37 GMT