If no wizard steps in, you could have a look at: marc.theaimsgroup.com
Threads which may be of interest: http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=107909805318390&w=2 http://marc.theaimsgroup.com/?t=106272562800002&r=1&w=2
But if it's a very basic layout you're addressing you might also just switch the css file (if
you're dealing with html) or - as a hack - let the incoming URL have a request parameter
stating the layout to be used (it's easily switched on request parameters, session parameters
and sitemap parameters).
You might also want to look at the portal code (cocoon/samples). I think it uses a layout
based on the users profile. That may be put in the session when logging in, or encoded in the
url. I don't know but it's worth a look.
Leon
Markus Strickler wrote:
Hi-
I'm looking for a way to determine the pipeline to use for rendering an XML document based on its content.
so if i have for example:
<page> <meta> <use-layout>a</use-layout> </meta> <content> <!-- some content --> </content> </page>
I'd like to be able to use one pipeline, and if i have <use-layout>b</use-layout> I'd like to use another.
Is this possible? If so, how would you do it?
Thanks for any help,
-markus
--------------------------------------------------------------------- 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]
