Mercurial > hg > nginx-site
view xsls/dirmap.xsls @ 1982:28ee7ab54a90
Added the "Time" section to the development guide.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 02 May 2017 16:25:33 +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" { !! "."; } } } }