Hi Solprovider! Thanks! I've already implemented the parameter-selector and this works fine. But now I want to export my website to two different directories using two different stylesheets and so far I've not mamanged to export pages with different stylesheets. Do you also have a solution for this? Do you think the cocoon-views method will work?
By the way, there's a lot of useful information on your website! Good job! Bart -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Friday, July 08, 2005 14:07 To: [email protected] Subject: Re: Using custom XML style sheets for exporting Cocoon Views are GOTOs in a Sitemap. The page starts processing normally, then jumps to the <map:view name="otherxsl"> when it hits the label="otherxsl". See: http://solprovider.com/lenya/views Alternate URLs need ?cocoon-view=mystylesheet Using the parameter selector is demonstrated at: http://solprovider.com/lenya/multipleold Alternate URLs need ?xsl=mystylesheet A generic usecase for multiple stylesheets is at: http://solprovider.com/lenya/multiple Alternate URLs need ?lenya.usecase=xsl&xsl=mystylesheet All three methods work. A View exits the normal pipeline, so you have to reproduce all the code after the GOTO. The parameter selector makes a mess in the middle of your pipeline. The usecase does most of the work in a separate file, so it is the easiest to maintain. solprovider --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
