- From: Norman Walsh <ndw@nwalsh.com>
- Date: Tue, 24 Apr 2007 15:02:39 -0400
- To: public-xml-processing-model-wg@w3.org
- Message-ID: <87ejm9lho0.fsf@nwalsh.com>
/ Jeni Tennison <jeni@jenitennison.com> was heard to say:
| 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?
Because p:store outputs the URI that it actually used when it did the
store operation. I think we want to keep that.
The other obvious way to do this is to give p:identity an href option,
but I don't see any compelling reason why overloading an existing
component is preferable to another simple component.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | It is better to waste one's youth than
http://nwalsh.com/ | to do nothing with it at all.--Georges
| Courteline
Received on Tuesday, 24 April 2007 19:02:50 UTC