W3C home > Mailing lists > Public > xproc-dev@w3.org > November 2010

Re: p:store and default readable ports

From: Olivier JEULIN <olivier.jeulin@gmail.com>
Date: Wed, 24 Nov 2010 17:32:09 +0100
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <1290616329.10378.45.camel@lx0002>
Le mercredi 24 novembre 2010 à 11:16 -0500, Tony Rogers a écrit :
> I know that the p:store step does not have a primary output.  
> My general question: 
> Does this mean that in a pipeline that flows in the default order (top
> to bottom of pipeline document), p:store cannot be used in the middle
> of things?  
> My pipeline specifics:
> I have a pipeline that does an HTTP request.  I want to store the
> results of that request, AND I also want to perform some further
> processing on those results immediately after storing them.  
> The problem is that if I store them, p:store does not have a primary
> output, so the automatic flow of my pipeline stops.  :(

After p:store, you can add 
	<p:input port="source">
		<p:pipe port="result" step="the step before p:store"/>

Or you can move p:store somewhere else (where you will discard its
output) and create an explicit connection to the step that you want to
   <p:input port="source">
      <p:pipe port="result" step="the step you want to store"/>
Received on Wednesday, 24 November 2010 16:32:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:07 UTC