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]

Reply via email to