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

Re: Do pipelines have ports?

From: Jeni Tennison <jeni@jenitennison.com>
Date: Thu, 18 Sep 2008 22:02:12 +0100
Cc: XProc Dev <xproc-dev@w3.org>
Message-Id: <8417C261-662C-4B73-B4F4-336B32E12017@jenitennison.com>
To: James Garriss <james@garriss.org>

James,

> 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?


Absolutely. And if you ever give that step a type, then you can invoke  
it as a step in another pipeline in exactly the same way you can the  
built-in steps.

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com
Received on Thursday, 18 September 2008 21:02:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 18 September 2008 21:02:48 GMT