Using XSLT and FastCGI together

Igor Sysoev is at rambler-co.ru
Wed Apr 15 22:18:14 MSD 2009


On Wed, Apr 15, 2009 at 10:30:05AM -0700, Michael Shadle wrote:

> this would be a neat feature and i could possibly leverage it too,
> depending on how fast nginx's xsl transforms work. i assume pretty
> fast. :)

No faster than libxml2/libxslt.

> On Wed, Apr 15, 2009 at 10:10 AM, Michael Nachbaur <mike at nachbaur.com> wrote:
> > I'm developing a web application that makes heavy use of nginx's XSLT
> > support (Thank you for that!)  About half of the content is in static XML
> > files that describes the application's state.  But when people click on and
> > interact with the forms and links on the page, those make calls to URLs
> > which get dispatched to fastcgi daemons using fastcgi_pass.
> >
> > What I'd like to do is output XML from my FastCGI daemon and feed that
> > through nginx's XSLT stylesheets in order to render the
> > dynamically-generated page.  But I'm finding that even though my
> > fastcgi_pass directive lives in the same location block where my xslt is
> > defined, nginx is sending the raw XML to the browser.
> >
> > Is there a way to tell nginx to process the output of my FastCGI script with
> > XSLT?
> >
> > Thanks.
> >
> >

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





More information about the nginx mailing list