Christofer Dutz wrote:

Hi,

a few days ago I asked this question before and thanks for the answer. It helped me a lot. The only thing is, that I would like cocoon to select a stylesheet besed on the name of the domain-name in the request without having to change the cocoon sitemap.

My idea is to have cocoon select stylesheet domain1.com.xsl if a request to domain1.com arrives .... some kind of

<map:transform type="xslt" src="{host}.xsl"/>

is there a way to do this?


Maybe <map:transform type="xslt" src="{request-header:Host}.xsl"/> ?

Sylvain

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
Orixo, the opensource XML business alliance  -  http://www.orixo.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to