cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Park, Paul" <PP...@ebuilt.com>
Subject RE: [RT] reconsidering pipeline semantics
Date Tue, 02 Jul 2002 16:30:14 GMT
Will the pipelines support parameters?

Since, its begining to look like named xslt templates, what about something
like


   <pipeline name="blah">
      <param name="foo"/>
      <generate ../>
      <transform ../>
      <serialize ../>
   </pipeline>

   <call pipeline="blah">
      <with-param name="foo" value="bar"/>
   </call> 


-----Original Message-----
From: Stefano Mazzocchi [mailto:stefano@apache.org]
Sent: Tuesday, July 02, 2002 5:55 AM
To: Apache Cocoon
Subject: [RT] reconsidering pipeline semantics

<snip/>

[using a pipeline as a pipeline] (as today)

   <pipeline>
    <match pattern="*">
     <call pipeline="blah"/>
    </match>
   </pipeline>

<snip/>

So, here is what I propose:

 - add the 'pipeline' attribute to 'map:call'
 - add the 'name' attribute to 'map:pipeline'
 - deprecate the 'map:resources' element
 - deprecate 'internal-only' attribute of 'map:pipeline' 
   [because named pipelines become implicitly internal-only]
 - allow 'map:call' to be executed in any place, performing the pipeline
overloading behavior I explained above.

What do you think?  

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message