Mercurial > hg > nginx-site
annotate xslt/versions.xslt @ 2263:1bec6f727a84
Added njs presentation from nginx.conf 2018.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 29 Oct 2018 19:52:32 +0300 |
parents | 9abeeeb61d0e |
children | 91a2ee74ca72 |
rev | line source |
---|---|
170 | 1 <?xml version="1.0" encoding="utf-8"?> |
1085 | 2 <!-- |
3 Copyright (C) Igor Sysoev | |
4 Copyright (C) Nginx, Inc. | |
5 --> | |
6 | |
170 | 7 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
8 | |
1085 | 9 <xsl:template match="mainline_version"> |
10 <xsl:apply-templates select="document(concat($XML, '/versions.xml')) | |
11 /versions/download[@tag='mainline'][1]/item[1]/@ver"/> | |
12 </xsl:template> | |
170 | 13 |
1085 | 14 <xsl:template match="stable_version"> |
15 <xsl:apply-templates select="document(concat($XML, '/versions.xml')) | |
16 /versions/download[@tag='stable'][1]/item[1]/@ver"/> | |
17 </xsl:template> | |
170 | 18 |
1085 | 19 <xsl:template match="commercial_version"> |
1087 | 20 <a href="http://nginx.com/products/"> |
1129 | 21 <xsl:apply-templates/> |
1087 | 22 </a> |
1085 | 23 </xsl:template> |
953
aded7086e84f
Commercial version documentation.
Ruslan Ermilov <ru@nginx.com>
parents:
923
diff
changeset
|
24 |
170 | 25 </xsl:stylesheet> |