annotate xslt/version.xslt @ 2819:b7ff3d1915a1
Development guide: fixed misleading comment about rc.options.
While ngx_regex_compile() indeed used to pass rc.options as is to
pcre_compile(), this is certainly not a guaranteed property of the
interface. Further, it is no longer true since introduction of PCRE2
support in nginx 1.21.5.
author |
Maxim Dounin <mdounin@mdounin.ru> |
date |
Thu, 13 Jan 2022 01:36:10 +0300 |
parents |
7e662eae0429 |
children |
|
rev |
line source |
597
|
1 <?xml version="1.0" encoding="utf-8"?>
|
1225
|
2 <!--
|
|
3 Copyright (C) Igor Sysoev
|
|
4 Copyright (C) Nginx, Inc.
|
|
5 -->
|
|
6
|
597
|
7 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
|
8
|
1225
|
9 <xsl:param select="'development'" name="VERSION"/>
|
597
|
10
|
1225
|
11 <xsl:output method="text"/>
|
|
12
|
|
13 <xsl:template match="/versions"> <xsl:apply-templates select="download[@tag=$VERSION][1]/item[1]/@ver"/> </xsl:template>
|
597
|
14
|
|
15 </xsl:stylesheet>
|