view xsls/dirmap.xsls @ 2654:d13341d3c54a

Marked some directives as obsolete in HTTP/2. The following directives are marked as obsolete: http2_idle_timeout, http2_max_field_size, http2_max_header_size, http2_max_requests, http2_recv_timeout.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 16 Feb 2021 14:17:10 +0000
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" {
            !! ".";
        }
    }
}

}