Thanks for the quick and helpfull response.

Thats the answer I kind of expected and feared most. That means for me:
Getting comfortable with actions.

Cheers
Jonny


----------------------------------------------------------------------------------------------------

This electronic message contains information from the mmo2 plc Group which
may be
privileged or confidential. The information is intended to be for the use
of the
individual(s) or entity named above. If you are not the intended recipient
be aware
that any disclosure, copying, distribution or use of the contents of this
information
is prohibited. If you have received this electronic message in error,
please notify
us by telephone or email (to the numbers or address above) immediately.



|---------+-------------------------------------->
|         |           Christian Haul             |
|         |           <[EMAIL PROTECTED]|
|         |           rmstadt.de>                |
|         |                                      |
|         |           01/23/03 03:27 PM          |
|         |           Please respond to          |
|         |           cocoon-users               |
|         |                                      |
|---------+-------------------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |       To:       [EMAIL PROTECTED]                                        
                                          |
  |       cc:                                                                          
                                          |
  |       Subject:  Re: Different stylesheets called on runtime?                       
                                          |
  
>------------------------------------------------------------------------------------------------------------------------------|




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]>






---------------------------------------------------------------------
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]>

Reply via email to