Marc, the answer is yes... and it could be done in a number of different ways: just let me explain one of these ways:
<map:match name="wildcard" pattern="dynamic-*-*-doc.html"> <map:generate type="file" src="{1}.xml"/> <map:transform src="{2}.xsl"/> <map:serialize type="html"/> </map:match> For example, calling dynamic-contents1-style1-doc.html will produce the contents1.xml document and process it by the style1.xsl stylesheet. Or, for instance, calling dynamic-contents1-style2-doc.html will produce the same document (contents1.xml) but processed by the style2.xsl stylesheet. Quite flexible, isn't it ? Best regards, --------------------------------------------- Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html --------------------------------------------- > -----Original Message----- > From: Marc Baumgartner [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 14, 2002 11:44 AM > To: [EMAIL PROTECTED] > Subject: Dynamic Transformation > > > Hello, > > I am new to Cocoon. The Framework seems to be very interesting > for me. I've > looked all the dokumentation but I still have a question: > > Is ist possbile to define at runtime the stylesheet the xml content should > be transformed with? > > For example for a role management so that i don't have to edit the sitemap > for every new user. > > Thanks, > > Marc > > > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>