cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piroumian Konstantin <>
Subject RE: dynamic pipelines?
Date Tue, 02 Jul 2002 11:02:49 GMT
Don't get confused. What you describe here is a static pipeline and dynamic
parameters for it. E.g.:
<map:match pattern="dynamic">
    <map:act type="get-page-and-stylesheet">
        <map:generate src="{page}" />
        <map:transform src="{stylesheet}" />
You can use one of the multiple actions, selectors or matchers from Cocoon
to get the needed parameters dynamically either from your request path,
request params or some other source.

And, please, don't use HTML emails. Not everyone can read them and it's
problematic to quote on.

Konstantin Piroumian 

-----Original Message-----
From: Othman Haddad [] 
Sent: Tuesday, July 02, 2002 2:28 PM
Subject: dynamic pipelines?

first thanks everybody for the fast and precise answers,it's amazing!!
well, i was wondering if is it possible to choose stylesheet to use from a
form without hardcoding them?
i.e: imagine this scenario: 
i choose an XML file from a location and an XSLT to apply on it from another
location, directly with some clicks on the browser!
that means that we can generate the sitemap_xmap.xmap dynamically!
so is that possible with cocoon2?   
thanks a lot..

 <>   IncrediMail - La
messagerie électronique a enfin évolué -
<> Cliquer ici 

View raw message