cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piroumian Konstantin <KPiroum...@protek.com>
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}" />
        <map:serialize/>
    </map:act>
</map:match>
 
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 
kpiroumian@apache.org 

-----Original Message-----
From: Othman Haddad [mailto:ohaddad@neomalogic.com] 
Sent: Tuesday, July 02, 2002 2:28 PM
To: cocoon-users@xml.apache.org
Subject: dynamic pipelines?



Hi,
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..

			
________________________________________________________________
 <http://www.incredimail.com/redir.asp?ad_id=312&lang=12>   IncrediMail - La
messagerie électronique a enfin évolué -
<http://www.incredimail.com/redir.asp?ad_id=312&lang=12> Cliquer ici 


Mime
View raw message