Mercurial > hg > nginx-site
view xsls/dirmap.xsls @ 1985:48ca712794c6
Documented the set_real_ip_from support of hostnames.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 16 May 2017 13:47:28 +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{; } } X:template = "link[@id = 'include']" { X:text{\\} !{@id} X:text{ } !{substring-before(@doc, '.xml')} X:text{.html#} !{@id} X:text{; } } 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{; } } X:template = "links | varlinks" { X:for-each "link", X:sort "@id" { X:if "count(preceding-sibling::link[@id = current()/@id]) = 0" { !! "."; } } } }