On 23.Jan.2003 -- 02:36 PM, [EMAIL PROTECTED] wrote: > Hi, > > I have for example an XSP and various XSLs for the output (of the data > from that XSP). > In the <xsp:logic>-part it should/is deceided on runtime, which one of the > XSLs to use for the output. > > Where do I have to manage that? I mean, how/where do I tell cocoon which > XSL to use(In the sitemap?Can the xsp handle that?)?
Yes, the sitemap is the place. No, XSP cannot handle that. You need to use one of the sitemap components for that: a matcher, a selector, or an action. If the stylesheet depends on the request this is pretty easy. If it depends on calculations or data retrieved inside the XSP, you may need to write your own action, selector, matcher. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>