cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <d...@c-ware.de>
Subject Re: Selecting xslt-document based on the domain-name of a requet ?
Date Thu, 13 Nov 2003 15:50:11 GMT
Thanks :))


It worked !
Why couldn't I find anything about this in any of the cocoon docs ? 
Would have been quite helpfull;)

Thanx again!

Chris


Sylvain Wallez wrote:

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



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message