Using inline processing instructions with XSLT module?

digitala nginx-forum at
Mon May 11 21:15:41 MSD 2009

Is it possible to return an XML document (for example from FastCGI) which contains a processing instruction, and have the XSLT module locate and apply the XSL file?

For example; if the FastCGI app returns:

    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet type="text/xsl" href="/xsl/basic.xsl"?>

...then would/could the XSLT module load the file based on the current "root" set in the server section of the config file?

Posted at Nginx Forum:,1905,1905#msg-1905

More information about the nginx mailing list