Hi Hans,

This is precisly what the pipeline/sitemap model in C2
seeks to avoid.  Hardcoding the stylesheet to use in
the XML file ties presentation to content and is
generally considered bad practice.  I appreciate that
you may have a particualar situation that you feel
merits your approach so perhaps you could elaborate on
the detail and why using a pipeline entry is not as
good as hardcoding.  We may then be able to provide
additional suggestions.

Best regards

Jeremy


 --- Hans Thomas Nordeck <[EMAIL PROTECTED]> wrote: >
In my specific case it's usefull to declare the
> xslt-template hard coded in
> the xml-content file.
> 
> Does anybody know how to do this with cocoon 2 ?
> 
> :) Hato
> 
> 
>
---------------------------------------------------------------------
> 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]>
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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