nginx-0.7.8

Igor Sysoev is at rambler-co.ru
Wed Sep 17 17:41:17 MSD 2008


On Wed, Sep 17, 2008 at 02:14:42PM +0100, Phillip B Oldham wrote:

> Igor Sysoev wrote:
> >Changes with nginx 0.7.8                                         04 Aug 
> >2008
> >
> >    *) Feature: the ngx_http_xslt_module.
> >  
> Would it be possible to set a response header from some script (like 
> PHP), to trigger an XSL translation on a response? For instance:
> 
> X-XSLTranslate: /path/to/file.xsl
> X-XSLParam: name1 value1
> X-XSLParam: name2 value2
> X-XSLParam: name3 value3
> 
> I feel this would be a useful extension to this module.

You may set parameters, but not XSL:

    xslt_stylesheet    /site/xslt/one.xslt
                       $upstream_http_x_xslt_params;


X-XSLT-Params: name1=value1:name2=value2:name3=value3


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list