5 messages in ru.sysoev.nginxRe: Using inline processing instructi...
FromSent OnAttachments
digitalaMay 11, 2009 10:15 am 
Igor SysoevMay 11, 2009 10:28 am 
Michael NachbaurMay 11, 2009 2:34 pm 
digitalaMay 12, 2009 12:29 am 
Igor SysoevMay 12, 2009 1:10 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Using inline processing instructions with XSLT module?Actions...
From:Igor Sysoev (is@rambler-co.ru)
Date:May 11, 2009 10:28:01 am
List:ru.sysoev.nginx

On Mon, May 11, 2009 at 01:15:41PM -0400, digitala wrote:

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?

No, currently stylesheets are proccessed on configuraiton stage. One of the reasons why it was implemented so because a stylesheet may have remote includes that may block for long time, etc.