xslt not work properly with nginx 7.30 on xslt function document() for apply template

Tomasen tomasen at gmail.com
Mon Dec 29 01:56:56 MSK 2008


There is no log about this.

And the xml file and data inside has been read. It's just that xslt template 
havn't been apply to the xml loaded via document()

sad :( xslt is easy to maintain and great. I hope there could be more 
support on this.

Thanks

Tomasen

--------------------------------------------------
From: "mike" <mike503 at gmail.com>
Sent: Monday, December 29, 2008 5:55 AM
To: <nginx at sysoev.ru>
Subject: Re: xslt not work properly with nginx 7.30 on xslt function 
document() for apply template

> On Sun, Dec 28, 2008 at 12:28 PM, Tomasen <tomasen at gmail.com> wrote:
>> The xlst module on nginx is great! Everything seems working except....
>>
>> I (or nginx xslt module) still having trouble on the following line in my
>> xsl file:
>>
>> <xsl:apply-templates select="document('/xml/hotsearch/sub.xml')"/>
>>
>> Nginx-xslt module does able to retrive the data in that xml, but not been
>> able to render it (as other xslt render like IE \ firefox \ Opera).
>>
>> About the function: http://www.w3schools.com/Xsl/func_document.asp
>
> Is there anything in the error log? Maybe turn on debugging? Perhaps
> the file path is not correct (perhaps it needs the full system path?)
>
> XSLT is picky, and document() may not be supported properly. If I
> recall on one system I used I don't think it was available either (not
> nginx, but some .NET thing)
> 





More information about the nginx mailing list