W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > April 2007

Re: Proposed standard component: p:tee

From: Jeni Tennison <jeni@jenitennison.com>
Date: Tue, 24 Apr 2007 19:25:56 +0100
Message-ID: <462E4BB4.10809@jenitennison.com>
To: public-xml-processing-model-wg@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:50 GMT