xslt question

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

xslt question

Alex Samad
Hi

I am using 

for


    location /ts/ {
        #autoindex on;
        #autoindex_format html;
        try_files $uri @autoindex;
    }


    # need xlst module
    location @autoindex {
        autoindex on;
        autoindex_format xml;
        xslt_stylesheet xslt/dirlist.xslt path='$uri';

    }


my problem is, i have a file with a % in it and I need to escape / encode it as a uri 

but when I use the xml functions to encode a uri I get function not found.

more reading I need xslt 2 not 1. how can I tell if I am using 1 or 2 ?

A

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx