- From: Norman Walsh <Norman.Walsh@Sun.COM>
- Date: Thu, 25 May 2006 09:05:52 -0400
- To: public-xml-processing-model-wg@w3.org
- Message-ID: <87d5e2fe4v.fsf@nwalsh.com>
/ Alessandro Vernet <avernet@orbeon.com> was heard to say: | Norm suggests to reference the pipeline output from a with-output. | This is what we do in XPL, so I am tempted to like that proposal ;). | However our users repeatedly found this confusing, so I'd like to try | something else. Let me suggest another option: adding a <p:return>, as | in: | | <p:pipeline xmlns:p="http://www.w3.org/2006/XProc/Pipeline"> | | <p:input name="request"/> | <p:output name="response"/> | | <p:step name="process-request"> | <p:with-input name="document" select="$request"/> | <p:with-output name="result" label="result"/> | </p:step> | | <p:return output="response" select="$result"/> | | </p:pipeline> That's semantically the same as using p:output at the end, right? It just has a different name? Or am I missing something? I think the name "return" is likely to be very confusing when a pipeline has more than one output stream: <p:pipeline xmlns:p="http://www.w3.org/2006/XProc/Pipeline"> <p:input name="request"/> <p:output name="response"/> <p:step name="process-request"> <p:with-input name="document" select="$request"/> <p:with-output name="result" label="result"/> </p:step> <p:step name="alternate-process-request"> <p:with-input name="document" select="$request"/> <p:with-output name="result" label="alt-result"/> </p:step> <p:return output="response" select="$result"/> <p:return output="alt-response" select="$alt-result"/> </p:pipeline> Be seeing you, norm -- Norman Walsh XML Standards Architect Sun Microsystems, Inc.
Received on Thursday, 25 May 2006 13:46:45 UTC