cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò <>
Subject Re: Server side functionality - based upon the URL (Domain/Virtual Host)
Date Wed, 17 Feb 2010 09:43:28 GMT
On 17/feb/10, at 10:36, Anish Sneh wrote:

> Hi All
> I need to apply a server side functionality which will be based upon  
> the URL (Domain/Virtual Host) for which the request is coming. e.g.  
> if the request is coming for server should treat it  
> differently, else if it is coming for or it  
> should be treated differently.
> I wanted to achieve this using XSLT (if possible), please suggest  
> how can I achieve this.

I think that the simplest approach could be to use the host selector  
in your sitemap [1] to decide which XSLT (or which parameter value to  
pass to an XSLT) to use in the pipeline.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message