Re: Proposed standard component: p:tee

Norman Walsh wrote:
> The p:tee component accepts a single document and copies it to its
> output. It also stores a copy of it in the specified URI:
> 
> <p:declare-step type="p:tee">
>   <p:input port="source" sequence="no"/>
>   <p:output port="result" sequence="no"/>
>   <p:option name="href" required="yes"/>
> </p:declare-step>
> 
> This isn't strictly necessary as it can be achieved with a p:store
> component. However, if you use a p:store, then you have to change
> other parts of the pipeline.

Why not just make <p:store>'s default output its input?

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com

Received on Tuesday, 24 April 2007 18:25:59 UTC