Title: Message
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
[EMAIL PROTECTED]

-----Original Message-----
From: Othman Haddad [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 02, 2002 2:28 PM
To: [EMAIL PROTECTED]
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..
________________________________________________________________
  IncrediMail - La messagerie électronique a enfin évolué - Cliquer ici

Reply via email to