xslt question

Alex Samad alex at samad.com.au
Wed Apr 26 23:54:46 UTC 2017


I am using


    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 ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170427/20f369ed/attachment.html>

More information about the nginx mailing list