view xsls/dirmap.xsls @ 1582:8973c7b37854

Updated commercial docs. details: http://hg.nginx.com/nginx.org-se/rev/23bf3610377f branches: se changeset: 1814:23bf3610377f user: Yaroslav Zhuravlev <yar@nginx.com> description: Added purge parameters to proxy_cache_path and friends. diffstat: xml/en/docs/http/ngx_http_fastcgi_module.xml | 60 +++++++++++++++++++++++++++- xml/en/docs/http/ngx_http_proxy_module.xml | 60 +++++++++++++++++++++++++++- xml/en/docs/http/ngx_http_scgi_module.xml | 60 +++++++++++++++++++++++++++- xml/en/docs/http/ngx_http_uwsgi_module.xml | 60 +++++++++++++++++++++++++++- xml/ru/docs/http/ngx_http_fastcgi_module.xml | 60 +++++++++++++++++++++++++++- xml/ru/docs/http/ngx_http_proxy_module.xml | 60 +++++++++++++++++++++++++++- xml/ru/docs/http/ngx_http_scgi_module.xml | 60 +++++++++++++++++++++++++++- xml/ru/docs/http/ngx_http_uwsgi_module.xml | 60 +++++++++++++++++++++++++++- 8 files changed, 472 insertions(+), 8 deletions(-) diffs (truncated from 672 to 500 lines):
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 30 Sep 2015 18:48:54 +0300
parents 333eccb8a7f6
children
line wrap: on
line source

<!--
  Copyright (C) Nginx, Inc.
  -->

X:stylesheet {

X:output method="text";

X:strip-space elements="*";

X:template = "link" {
    !{@id}
    X:text{ }
    !{substring-before(@doc, '.xml')}
    X:text{.html#}
    !{@id}
    X:text{;&#10;}
}

X:template = "link[@id = 'include']" {
    X:text{\\}
    !{@id}
    X:text{ }
    !{substring-before(@doc, '.xml')}
    X:text{.html#}
    !{@id}
    X:text{;&#10;}
}

X:template = "link[starts-with(@id, 'var_')]" {
    X:text{$}
    !{substring-after(@id, 'var_')}
    X:text{ }
    !{substring-before(@doc, '.xml')}
    X:text{.html#}
    !{@id}
    X:text{;&#10;}
}

X:template = "links | varlinks" {
    X:for-each "link", X:sort "@id" {
        X:if "count(preceding-sibling::link[@id = current()/@id]) = 0" {
            !! ".";
        }
    }
}

}